CompartmentMapsReferToCompartment.SetCompartment Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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