ActivityCodeDomSerializationManager.GetInstance(String) 方法

定义

获取指定名称的 Object;如果该 Object 不存在,则为 Null。Gets an Object of the specified name, or null if that Object does not exist.

public:
 virtual System::Object ^ GetInstance(System::String ^ name);
public object GetInstance (string name);
abstract member GetInstance : string -> obj
override this.GetInstance : string -> obj
Public Function GetInstance (name As String) As Object

参数

name
String

要获取的 Object 的名称。The name of the Object to obtain.

返回

Object

指定名称的 Object;如果该 Object 不存在,则为 Null。An Object of the specified name, or null if that Object does not exist.

实现

注解

这提供了对相同名称的 SerializationManager 方法的间接引用。This provides an indirect reference to the SerializationManager method of the same name.

适用于