CompartmentMapsReferToCompartment.SetCompartment Method
Sets Compartment.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)
Syntax
'Déclaration
Public Shared Sub SetCompartment ( _
element As CompartmentMap, _
newCompartment As Compartment _
)
public static void SetCompartment(
CompartmentMap element,
Compartment newCompartment
)
public:
static void SetCompartment(
CompartmentMap^ element,
Compartment^ newCompartment
)
static member SetCompartment :
element:CompartmentMap *
newCompartment:Compartment -> unit
public static function SetCompartment(
element : CompartmentMap,
newCompartment : Compartment
)
Parameters
- newCompartment
Type: Microsoft.VisualStudio.Modeling.DslDefinition.Compartment
.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.