共用方式為


ClassHasBaseClass.GetLinks Method

Get any ClassHasBaseClass links between a given DomainClass and a DomainClass.

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

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

ClassHasBaseClass Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace