getContentAndSize Method
Retrieves the content and content set size based on the supplied content descriptor override.
getContentAndSize(requestOptions: Paged<ContentRequestOptions<IModelConnection>>, descriptorOrOverrides: Descriptor | DescriptorOverrides, keys: KeySet): Promise<{ content: Content }>
Parameter | Type | Description |
---|---|---|
requestOptions | Paged<ContentRequestOptions<IModelConnection>> | Options for the request. |
descriptorOrOverrides | Descriptor | DescriptorOverrides | Content descriptor or its overrides specifying how the content should be customized |
keys | KeySet | Keys of ECInstances to get the content for. |
Returns - Promise<{ content: Content }>
A promise object that returns either content and content set size on success or an error string on error.
Defined in
Last Updated: 13 June, 2024