Partager via


DomainClassHasCustomTypeDescriptor.GetLinks Method

Get any DomainClassHasCustomTypeDescriptor links between a given DomainClass and a DomainTypeDescriptor.

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)

Syntax

'Déclaration
Public Shared Function GetLinks ( _
    source As DomainClass, _
    target As DomainTypeDescriptor _
) As ReadOnlyCollection(Of DomainClassHasCustomTypeDescriptor)
public static ReadOnlyCollection<DomainClassHasCustomTypeDescriptor> GetLinks(
    DomainClass source,
    DomainTypeDescriptor target
)
public:
static ReadOnlyCollection<DomainClassHasCustomTypeDescriptor^>^ GetLinks(
    DomainClass^ source, 
    DomainTypeDescriptor^ target
)
static member GetLinks : 
        source:DomainClass * 
        target:DomainTypeDescriptor -> ReadOnlyCollection<DomainClassHasCustomTypeDescriptor> 
public static function GetLinks(
    source : DomainClass, 
    target : DomainTypeDescriptor
) : ReadOnlyCollection<DomainClassHasCustomTypeDescriptor>

Parameters

Return Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<DomainClassHasCustomTypeDescriptor>

.NET Framework Security

See Also

Reference

DomainClassHasCustomTypeDescriptor Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace