ElementGroupPrototype.GetSourceRootElementId Method
Gets the id of the source root ModelElement that corresponds to the specified target root ModelElement id. If it was not found, Guid.Empty is returned.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)
Syntax
'Declaration
Public Function GetSourceRootElementId ( _
targetRootElementId As Guid _
) As Guid
public Guid GetSourceRootElementId(
Guid targetRootElementId
)
public:
Guid GetSourceRootElementId(
Guid targetRootElementId
)
member GetSourceRootElementId :
targetRootElementId:Guid -> Guid
public function GetSourceRootElementId(
targetRootElementId : Guid
) : Guid
Parameters
targetRootElementId
Type: GuidThe id of the target root ModelElement.
Return Value
Type: Guid
The id of the source root ModelElement that corresponds to the specified target root ModelElement id.
.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.