Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the identifier that is referenced by the type descriptor.
Namespace: Microsoft.BusinessData.MetadataModel
Assembly: Microsoft.BusinessData (in Microsoft.BusinessData.dll)
Syntax
'Declaration
Function GetIdentifier As IIdentifier
'Usage
Dim instance As ITypeDescriptor
Dim returnValue As IIdentifier
returnValue = instance.GetIdentifier()
IIdentifier GetIdentifier()
Return Value
Type: Microsoft.BusinessData.MetadataModel.IIdentifier
The identifier that is referenced by the type descriptor.
Exceptions
| Exception | Condition |
|---|---|
| InvalidOperationException | The type descriptor does not reference an identifier. This condition can be checked through the IsIdentifierSet property. |
| MetadataObjectNotFoundException | An identifier is referenced but could not be found. |
Remarks
The type descriptor references an identifier if the data structure represented by the type descriptor is used to get or set the value of an identifier.