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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll)
Syntax
'Declaration
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.