Share via


CompartmentMapsReferToCompartment.SetCompartment Method

Definition

Sets Compartment.

public:
 static void SetCompartment(Microsoft::VisualStudio::Modeling::DslDefinition::CompartmentMap ^ element, Microsoft::VisualStudio::Modeling::DslDefinition::Compartment ^ newCompartment);
[System.Diagnostics.DebuggerStepThrough]
public static void SetCompartment (Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentMap element, Microsoft.VisualStudio.Modeling.DslDefinition.Compartment newCompartment);
[<System.Diagnostics.DebuggerStepThrough>]
static member SetCompartment : Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentMap * Microsoft.VisualStudio.Modeling.DslDefinition.Compartment -> unit
Public Shared Sub SetCompartment (element As CompartmentMap, newCompartment As Compartment)

Parameters

element
CompartmentMap
newCompartment
Compartment
Attributes

Applies to