Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.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: System.Guid
The id of the target root ModelElement.
Return Value
Type: System.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.