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.GuidThe 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
- 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.