CopyOriginContext.Set Method
Adds the ElementGroupPrototype origin information to the ElementGroupPrototype.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Déclaration
Public Shared Sub Set ( _
elementGroupPrototype As ElementGroupPrototype, _
copyOrigin As String _
)
public static void Set(
ElementGroupPrototype elementGroupPrototype,
string copyOrigin
)
public:
static void Set(
ElementGroupPrototype^ elementGroupPrototype,
String^ copyOrigin
)
static member Set :
elementGroupPrototype:ElementGroupPrototype *
copyOrigin:string -> unit
public static function Set(
elementGroupPrototype : ElementGroupPrototype,
copyOrigin : String
)
Parameters
- elementGroupPrototype
Type: Microsoft.VisualStudio.Modeling.ElementGroupPrototype
The ElementGroupPrototype to save the origin context information to.
- copyOrigin
Type: System.String
The text that represents the origin of the ElementGroupPrototype.
.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.