Udostępnij za pośrednictwem


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

See Also

Reference

ElementGroupPrototype Class

Microsoft.VisualStudio.Modeling Namespace