Partilhar via


ITypeDescriptor.IsAssociationSet Property

Determines whether this type descriptor references an association.

Namespace:  Microsoft.BusinessData.MetadataModel
Assembly:  Microsoft.BusinessData (in Microsoft.BusinessData.dll)

Syntax

'Declaration
ReadOnly Property IsAssociationSet As Boolean
    Get
'Usage
Dim instance As ITypeDescriptor
Dim value As Boolean

value = instance.IsAssociationSet
bool IsAssociationSet { get; }

Property Value

Type: System.Boolean
true if this type descriptor references an association; otherwise, false.

Remarks

This property returns false when the type descriptor references an identifier and an association and the identifier or the association references an external content type that is not in the metadata store. If the type descriptor references an association, then the identifier referenced by the type descriptor is a foreign identifier. Type descriptors cannot reference associations if they do not refer to identifiers.

See Also

Reference

ITypeDescriptor Interface

ITypeDescriptor Members

Microsoft.BusinessData.MetadataModel Namespace