CompartmentMapHasPropertyDisplayedPath.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 PropertyPath, _
newCompartmentMap As CompartmentMap _
)
public static void SetCompartmentMap(
PropertyPath element,
CompartmentMap newCompartmentMap
)
public:
static void SetCompartmentMap(
PropertyPath^ element,
CompartmentMap^ newCompartmentMap
)
static member SetCompartmentMap :
element:PropertyPath *
newCompartmentMap:CompartmentMap -> unit
public static function SetCompartmentMap(
element : PropertyPath,
newCompartmentMap : CompartmentMap
)
Parameters
- 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.