共用方式為


ClassHasProperties.GetLinks(DomainClass, DomainProperty) Method

Definition

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

public:
 static System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::VisualStudio::Modeling::DslDefinition::ClassHasProperties ^> ^ GetLinks(Microsoft::VisualStudio::Modeling::DslDefinition::DomainClass ^ source, Microsoft::VisualStudio::Modeling::DslDefinition::DomainProperty ^ target);
[System.Diagnostics.DebuggerStepThrough]
public static System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Modeling.DslDefinition.ClassHasProperties> GetLinks (Microsoft.VisualStudio.Modeling.DslDefinition.DomainClass source, Microsoft.VisualStudio.Modeling.DslDefinition.DomainProperty target);
[<System.Diagnostics.DebuggerStepThrough>]
static member GetLinks : Microsoft.VisualStudio.Modeling.DslDefinition.DomainClass * Microsoft.VisualStudio.Modeling.DslDefinition.DomainProperty -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Modeling.DslDefinition.ClassHasProperties>
Public Shared Function GetLinks (source As DomainClass, target As DomainProperty) As ReadOnlyCollection(Of ClassHasProperties)

Parameters

source
DomainClass

Returns

Attributes

Applies to