CopyOriginContext.Set(ElementGroupPrototype, String) 方法

定义

将 Elementgroupprototype 创建 elementgroup 源信息添加到 Elementgroupprototype 创建 elementgroup 中。

public:
 static void Set(Microsoft::VisualStudio::Modeling::ElementGroupPrototype ^ elementGroupPrototype, System::String ^ copyOrigin);
public static void Set (Microsoft.VisualStudio.Modeling.ElementGroupPrototype elementGroupPrototype, string copyOrigin);
static member Set : Microsoft.VisualStudio.Modeling.ElementGroupPrototype * string -> unit
Public Shared Sub Set (elementGroupPrototype As ElementGroupPrototype, copyOrigin As String)

参数

elementGroupPrototype
ElementGroupPrototype

要将源上下文信息保存到的 Elementgroupprototype 创建 elementgroup。

copyOrigin
String

表示 Elementgroupprototype 创建 elementgroup 源的文本。

适用于