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.
Returns the text that represents the origin of the ElementGroupPrototype that is being merged during the specified transaction, 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
'Declaration
Public Shared Function GetCopyOrigin ( _
transaction As Transaction _
) As String
public static string GetCopyOrigin(
Transaction transaction
)
public:
static String^ GetCopyOrigin(
Transaction^ transaction
)
static member GetCopyOrigin :
transaction:Transaction -> string
public static function GetCopyOrigin(
transaction : Transaction
) : String
Parameters
- transaction
Type: Microsoft.VisualStudio.Modeling.Transaction
The transaction in which the ElementGroupPrototype's CopyOriginContext was copied.
Return Value
Type: System.String
The text that represents the origin of the ElementGroupPrototype that is being merged during the specified transaction, 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.