Partager via


CustomPropertyDescriptor.GetLinks Method

Get any CustomPropertyDescriptor links between a given DomainTypeDescriptor and a PropertyPath.

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 DomainTypeDescriptor, _
    target As PropertyPath _
) As ReadOnlyCollection(Of CustomPropertyDescriptor)
public static ReadOnlyCollection<CustomPropertyDescriptor> GetLinks(
    DomainTypeDescriptor source,
    PropertyPath target
)
public:
static ReadOnlyCollection<CustomPropertyDescriptor^>^ GetLinks(
    DomainTypeDescriptor^ source, 
    PropertyPath^ target
)
static member GetLinks : 
        source:DomainTypeDescriptor * 
        target:PropertyPath -> ReadOnlyCollection<CustomPropertyDescriptor> 
public static function GetLinks(
    source : DomainTypeDescriptor, 
    target : PropertyPath
) : ReadOnlyCollection<CustomPropertyDescriptor>

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

CustomPropertyDescriptor Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace