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
- 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.