ActivityCodeDomSerializationManager.GetType(String) 方法

定义

获取指定名称的 TypeGets a Type of the specified name.

public:
 virtual Type ^ GetType(System::String ^ typeName);
public Type GetType (string typeName);
override this.GetType : string -> Type
Public Function GetType (typeName As String) As Type

参数

typeName
String

要加载的 Type 的完全限定名。The fully qualified name of the Type to load.

返回

Type

Type 的一个实例;如果不能加载 Nothing,则为空引用(在 Visual Basic 中为 Type)。An instance of the Type, or a null reference (Nothing in Visual Basic) if the Type cannot be loaded.

实现

注解

此版本的 GetType 提供对相同名称的 SerializationManager 属性的间接引用。This version of GetType provides an indirect reference to the SerializationManager property of the same name.

适用于