共用方式為


ClassHasProperties.GetLinks Method

Get any ClassHasProperties links between a given DomainClass and a DomainProperty.

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

Syntax

'宣告
Public Shared Function GetLinks ( _
    source As DomainClass, _
    target As DomainProperty _
) As ReadOnlyCollection(Of ClassHasProperties)
public static ReadOnlyCollection<ClassHasProperties> GetLinks(
    DomainClass source,
    DomainProperty target
)
public:
static ReadOnlyCollection<ClassHasProperties^>^ GetLinks(
    DomainClass^ source, 
    DomainProperty^ target
)
static member GetLinks : 
        source:DomainClass * 
        target:DomainProperty -> ReadOnlyCollection<ClassHasProperties> 
public static function GetLinks(
    source : DomainClass, 
    target : DomainProperty
) : ReadOnlyCollection<ClassHasProperties>

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

ClassHasProperties Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace