CopyOriginContext.GetCopyOrigin Method (ElementGroup)
Returns the text that represents the origin of the ElementGroupPrototype, or String.Empty if none exists.
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 ( _
elementGroup As ElementGroup _
) As String
public static string GetCopyOrigin(
ElementGroup elementGroup
)
public:
static String^ GetCopyOrigin(
ElementGroup^ elementGroup
)
static member GetCopyOrigin :
elementGroup:ElementGroup -> string
public static function GetCopyOrigin(
elementGroup : ElementGroup
) : String
Parameters
- elementGroup
Type: Microsoft.VisualStudio.Modeling.ElementGroup
The ElementGroup where the CopyOriginContext has been saved.
Return Value
Type: System.String
The text that represents the origin of the ElementGroupPrototype, or String.Empty if none exists.
.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.