CompartmentMapHasElementsDisplayedPath.SetCompartmentMap Method
Sets CompartmentMap.
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 Sub SetCompartmentMap ( _
element As DomainPath, _
newCompartmentMap As CompartmentMap _
)
public static void SetCompartmentMap(
DomainPath element,
CompartmentMap newCompartmentMap
)
public:
static void SetCompartmentMap(
DomainPath^ element,
CompartmentMap^ newCompartmentMap
)
static member SetCompartmentMap :
element:DomainPath *
newCompartmentMap:CompartmentMap -> unit
public static function SetCompartmentMap(
element : DomainPath,
newCompartmentMap : CompartmentMap
)
Parameters
- element
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainPath
- newCompartmentMap
Type: Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentMap
.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.