WorkflowMarkupSerializationManager.GetType Method

Definition

Returns the Type associated with the specified name.

Overloads

GetType(String)

Returns a type of the specified name.

GetType(XmlQualifiedName)

Returns that type associated with the specified XML qualified name.

GetType(String)

Returns a type of the specified name.

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

Parameters

typeName
String

The fully-qualified name of the Type to load.

Returns

The Type associated with typeName.

Implements

Applies to

GetType(XmlQualifiedName)

Returns that type associated with the specified XML qualified name.

public:
 virtual Type ^ GetType(System::Xml::XmlQualifiedName ^ xmlQualifiedName);
public virtual Type GetType (System.Xml.XmlQualifiedName xmlQualifiedName);
override this.GetType : System.Xml.XmlQualifiedName -> Type
Public Overridable Function GetType (xmlQualifiedName As XmlQualifiedName) As Type

Parameters

xmlQualifiedName
XmlQualifiedName

The XmlQualifiedName of the type to load.

Returns

The Type associated with xmlQualifiedName.

Exceptions

xmlQualifiedName contains a null reference (Nothing in Visual Basic).

Remarks

An XML qualified name is a namespace-qualified local name, in the format of namespace:localname.

Because prefixes are only required when XML is persisted or read, they are irrelevant for XmlQualifiedName objects. It is the responsibility of the user to ensure the local name does not contain a ":"

Applies to