DomainClassHasCustomTypeDescriptor.GetLinks Method
Get any DomainClassHasCustomTypeDescriptor links between a given DomainClass and a DomainTypeDescriptor.
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 DomainTypeDescriptor _
) As ReadOnlyCollection(Of DomainClassHasCustomTypeDescriptor)
public static ReadOnlyCollection<DomainClassHasCustomTypeDescriptor> GetLinks(
DomainClass source,
DomainTypeDescriptor target
)
public:
static ReadOnlyCollection<DomainClassHasCustomTypeDescriptor^>^ GetLinks(
DomainClass^ source,
DomainTypeDescriptor^ target
)
static member GetLinks :
source:DomainClass *
target:DomainTypeDescriptor -> ReadOnlyCollection<DomainClassHasCustomTypeDescriptor>
public static function GetLinks(
source : DomainClass,
target : DomainTypeDescriptor
) : ReadOnlyCollection<DomainClassHasCustomTypeDescriptor>
Parameters
Return Value
Type: System.Collections.ObjectModel.ReadOnlyCollection<DomainClassHasCustomTypeDescriptor>
.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.