Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Public Shared Function GetGhostShapes ( _
elementGroup As ElementGroup _
) As GhostShapeCollection
'使用
Dim elementGroup As ElementGroup
Dim returnValue As GhostShapeCollection
returnValue = DragSourceContext.GetGhostShapes(elementGroup)
public static GhostShapeCollection GetGhostShapes(
ElementGroup elementGroup
)
public:
static GhostShapeCollection^ GetGhostShapes(
ElementGroup^ elementGroup
)
public static function GetGhostShapes(
elementGroup : ElementGroup
) : GhostShapeCollection
Parameters
- elementGroup
Type: Microsoft.VisualStudio.Modeling.ElementGroup
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.GhostShapeCollection
Permissions
- 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.