共用方式為


DesignerSerializationManager.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);
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

所要擷取的物件名稱。

傳回

有指定名稱的物件的執行個體,或 null (如果找不到有該名稱的物件)。

實作

例外狀況

namenull

這個屬性從序列化工作階段外存取。

適用於

另請參閱