WorkflowMarkupSerializationManager.GetType Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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 ":"