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

具有给定名称的对象的实例;如果按该名称找不到任何对象,则为空引用(在 Visual Basic 中为 Nothing

实现

注解

必须已通过先前对 name 的调用设置了 WorkflowMarkupSerializationManager.IDesignerSerializationManager.CreateInstance(Type, ICollection, String, Boolean)

适用于