Partager via


CopyOriginContext.GetCopyOrigin Method (ElementGroupPrototype)

Returns the text that represents the origin of the ElementGroupPrototype, or String.Empty if not found.

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

Syntax

'Déclaration
Public Shared Function GetCopyOrigin ( _
    elementGroupPrototype As ElementGroupPrototype _
) As String
public static string GetCopyOrigin(
    ElementGroupPrototype elementGroupPrototype
)
public:
static String^ GetCopyOrigin(
    ElementGroupPrototype^ elementGroupPrototype
)
static member GetCopyOrigin : 
        elementGroupPrototype:ElementGroupPrototype -> string 
public static function GetCopyOrigin(
    elementGroupPrototype : ElementGroupPrototype
) : String

Parameters

Return Value

Type: System.String
The text that represents the origin of the ElementGroupPrototype, or String.Empty if not found.

.NET Framework Security

See Also

Reference

CopyOriginContext Class

GetCopyOrigin Overload

Microsoft.VisualStudio.Modeling Namespace