CompartmentMapsReferToCompartment.SetCompartment Method

Sets Compartment.

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)

Syntax

'Declaration
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

.NET Framework Security

See Also

Reference

CompartmentMapsReferToCompartment Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace