Compartilhar via


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

'Declaração
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

  • copyOrigin
    Type: System.String
    The text that represents the origin of the ElementGroupPrototype.

.NET Framework Security

See Also

Reference

CopyOriginContext Class

Microsoft.VisualStudio.Modeling Namespace