CompartmentMapsReferToCompartment.GetLinksToCompartmentMaps Method
Get the list of CompartmentMapsReferToCompartment links to a Compartment.
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 GetLinksToCompartmentMaps ( _
compartmentInstance As Compartment _
) As ReadOnlyCollection(Of CompartmentMapsReferToCompartment)
public static ReadOnlyCollection<CompartmentMapsReferToCompartment> GetLinksToCompartmentMaps(
Compartment compartmentInstance
)
public:
static ReadOnlyCollection<CompartmentMapsReferToCompartment^>^ GetLinksToCompartmentMaps(
Compartment^ compartmentInstance
)
static member GetLinksToCompartmentMaps :
compartmentInstance:Compartment -> ReadOnlyCollection<CompartmentMapsReferToCompartment>
public static function GetLinksToCompartmentMaps(
compartmentInstance : Compartment
) : ReadOnlyCollection<CompartmentMapsReferToCompartment>
Parameters
- compartmentInstance
Type: Microsoft.VisualStudio.Modeling.DslDefinition.Compartment
Return Value
Type: System.Collections.ObjectModel.ReadOnlyCollection<CompartmentMapsReferToCompartment>
.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.