共用方式為


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

.NET Framework Security

See Also

Reference

CompartmentMapHasPropertyDisplayedPath Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace