ITypeDescriptor.GetFilterDescriptor Method
Retrieves the filter descriptor that is referenced by this type descriptor.
Namespace: Microsoft.BusinessData.MetadataModel
Assembly: Microsoft.BusinessData (in Microsoft.BusinessData.dll)
Syntax
'Declaration
Function GetFilterDescriptor As IFilterDescriptor
'Usage
Dim instance As ITypeDescriptor
Dim returnValue As IFilterDescriptor
returnValue = instance.GetFilterDescriptor()
IFilterDescriptor GetFilterDescriptor()
Return Value
Type: Microsoft.BusinessData.MetadataModel.IFilterDescriptor
The filter descriptor that is referenced by this type descriptor.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | The type descriptor does not reference a filter descriptor. This condition can be checked through the IsFilterDescriptorSet property. |
Remarks
The type descriptor will reference a filter descriptor when the data structure represented by the type descriptor is used to get or set the value for the filter.