ExternalResourceBrowserData
Constructor
Description:
Constructs a new ExternalResourceBrowserData using the given document(optional), server id, folder path and match options.
Constructs a new ExternalResourceBrowserData using the given document(optional), server id, folder path and match options.
Syntax
public ExternalResourceBrowserData(
Document document,
Guid serverId,
string folderPath,
ExternalResourceMatchOptions matchOptions
)
Parameters
Parameter | Type | Description |
---|---|---|
document | Document | The document for which the external resource browser data is requested. The document can be <span class="keyword"><span data-languagespecifictext="cpp=nullptr|vb=Nothing|nu=null" id="LST6105292F_0"></span></span>, if so, the getCallingDocumentModelPath() will not return ModelPath. |
serverId | Guid | The id of IExternalResourceServer which handles the external resource browsing and loading. |
folderPath | String | The folder path to which the external resources and subfolders belong. <p>The folder separator should always be "/" and "/" always represents the root folder for the server.</p><p>The interpretation of what a folder represents is up to the server. For example, the folder "/English/Keynote" might be a physical folder on a disk, or a table or key in a database.</p> |
matchOptions | ExternalResourceMatchOptions | The options to match the external resources and folders. <p>Generally, the returned resources should match the options, otherwise the resource may be regarded as invalid which may not be available in browser dialogs.</p> |
Return Value
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |