ElementGroupPrototype.GetProtoElement Method

Get the ProtoElement corresponding to the specified id.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

Syntax

'Declaration
Public Function GetProtoElement ( _
    id As Guid _
) As ProtoElement
public ProtoElement GetProtoElement(
    Guid id
)
public:
ProtoElement^ GetProtoElement(
    Guid id
)
member GetProtoElement : 
        id:Guid -> ProtoElement
public function GetProtoElement(
    id : Guid
) : ProtoElement

Parameters

  • id
    Type: System.Guid

    The id of the source ProtoElement.

Return Value

Type: Microsoft.VisualStudio.Modeling.ProtoElement
The ProtoElement corresponding to the specified id; null if the ProtoElement was not found.

.NET Framework Security

See Also

Reference

ElementGroupPrototype Class

Microsoft.VisualStudio.Modeling Namespace