Share via


PropertyHasType.GetLinks Method

Get any PropertyHasType links between a given DomainProperty and a DomainType.

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

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

PropertyHasType Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace