共用方式為


WorkflowMarkupSerializationManager.IDesignerSerializationManager.GetInstance 方法

定義

傳回具有指定名稱之已建立物件的執行個體。

 virtual System::Object ^ System.ComponentModel.Design.Serialization.IDesignerSerializationManager.GetInstance(System::String ^ name) = System::ComponentModel::Design::Serialization::IDesignerSerializationManager::GetInstance;
object IDesignerSerializationManager.GetInstance (string name);
abstract member System.ComponentModel.Design.Serialization.IDesignerSerializationManager.GetInstance : string -> obj
override this.System.ComponentModel.Design.Serialization.IDesignerSerializationManager.GetInstance : string -> obj
Function GetInstance (name As String) As Object Implements IDesignerSerializationManager.GetInstance

參數

name
String

所要擷取的物件名稱。

傳回

Object

有指定名稱之物件的執行個體,如果找不到有該名稱的物件,則為 null 參考 (在 Visual Basic 中為 Nothing)。

實作

備註

您必須藉由先前對 name 的呼叫,才能完成 WorkflowMarkupSerializationManager.IDesignerSerializationManager.CreateInstance(Type, ICollection, String, Boolean) 的設定。

適用於