getContentAndSize Method

Overloads
getContentAndSize(requestOptions)  
getContentAndSize(requestOptions, descriptorOrOverrides, keys) Deprecated  

getContentAndSize(requestOptions)

getContentAndSize(requestOptions: Paged<ExtendedContentRequestOptions<IModelConnection, Descriptor, KeySet, RulesetVariable>>): Promise<undefined | { content: Content, size: number }>

Parameter Type Description
requestOptions Paged<ExtendedContentRequestOptions<IModelConnection, Descriptor, KeySet, RulesetVariable>>  

Returns - Promise<undefined | { content: Content, size: number }>



getContentAndSize(requestOptions, descriptorOrOverrides, keys)

Deprecated  Use an overload with ExtendedContentRequestOptions

Retrieves the content and content set size based on the supplied content descriptor override.

getContentAndSize(requestOptions: Paged<ContentRequestOptions<IModelConnection, RulesetVariable>>, descriptorOrOverrides: Descriptor | DescriptorOverrides, keys: KeySet): Promise<undefined | { content: Content, size: number }>

Parameter Type Description
requestOptions Paged<ContentRequestOptions<IModelConnection, RulesetVariable>>  
descriptorOrOverrides Descriptor | DescriptorOverrides  
keys KeySet  

Returns - Promise<undefined | { content: Content, size: number }>


Defined in

Last Updated: 11 June, 2024