DiagramRepresentsClass.GetLinksToDiagrams Method
Get the list of DiagramRepresentsClass links to a DomainClass.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll)
Syntax
'Declaration
Public Shared Function GetLinksToDiagrams ( _
classInstance As DomainClass _
) As ReadOnlyCollection(Of DiagramRepresentsClass)
public static ReadOnlyCollection<DiagramRepresentsClass> GetLinksToDiagrams(
DomainClass classInstance
)
public:
static ReadOnlyCollection<DiagramRepresentsClass^>^ GetLinksToDiagrams(
DomainClass^ classInstance
)
static member GetLinksToDiagrams :
classInstance:DomainClass -> ReadOnlyCollection<DiagramRepresentsClass>
public static function GetLinksToDiagrams(
classInstance : DomainClass
) : ReadOnlyCollection<DiagramRepresentsClass>
Parameters
- classInstance
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainClass
Return Value
Type: System.Collections.ObjectModel.ReadOnlyCollection<DiagramRepresentsClass>
.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.