ShapeMapReferencesShape.SetShape Method
Sets Shape.
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 SetShape ( _
element As ShapeMap, _
newShape As Shape _
)
public static void SetShape(
ShapeMap element,
Shape newShape
)
public:
static void SetShape(
ShapeMap^ element,
Shape^ newShape
)
static member SetShape :
element:ShapeMap *
newShape:Shape -> unit
public static function SetShape(
element : ShapeMap,
newShape : Shape
)
Parameters
- element
Type: Microsoft.VisualStudio.Modeling.DslDefinition.ShapeMap
- newShape
Type: Microsoft.VisualStudio.Modeling.DslDefinition.Shape
.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.