GhostShapeCollection.Find Method
Gets the GhostShape given the source ShapeElement guid.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaração
Public Function Find ( _
sourceId As Guid _
) As GhostShape
public GhostShape Find(
Guid sourceId
)
public:
GhostShape^ Find(
Guid sourceId
)
member Find :
sourceId:Guid -> GhostShape
public function Find(
sourceId : Guid
) : GhostShape
Parameters
- sourceId
Type: System.Guid
The Guid of the source ShapeElement to find.
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.GhostShape
.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.