ShapeMapHasParentElementPath.SetShapeMap Method
Sets ShapeMap.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll)
Syntax
'Declaration
Public Shared Sub SetShapeMap ( _
element As DomainPath, _
newShapeMap As BaseShapeMap _
)
public static void SetShapeMap(
DomainPath element,
BaseShapeMap newShapeMap
)
public:
static void SetShapeMap(
DomainPath^ element,
BaseShapeMap^ newShapeMap
)
static member SetShapeMap :
element:DomainPath *
newShapeMap:BaseShapeMap -> unit
public static function SetShapeMap(
element : DomainPath,
newShapeMap : BaseShapeMap
)
Parameters
- element
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainPath
- newShapeMap
Type: Microsoft.VisualStudio.Modeling.DslDefinition.BaseShapeMap
.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.