NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Assembly.GetType (String, Boolean, Boolean)

Gets the Type object with the specified name, ignoring case, and optionally throws an exception on error.

[Visual Basic]
Overloads Public Function GetType( _
   ByVal name As String, _
   ByVal throwOnError As Boolean, _
   ByVal ignoreCase As Boolean _
) As Type
[C#]
public Type GetType(
   string name,
   bool throwOnError,
   bool ignoreCase
);
[C++]
public: Type* GetType(
   String* name,
   bool throwOnError,
   bool ignoreCase
);
[JScript]
public function GetType(
   name : String,
   throwOnError : Boolean,
   ignoreCase : Boolean
) : Type;

Parameters

name
The full name of the type.
throwOnError
true to throw an exception if the type is not found. Otherwise, return null.
ignoreCase
true to ignore the case of the type name. false to observe the case of the type name.

Return Value

A Type object that represents the specified class.

Exceptions

Exception Type Condition
ArgumentNullException if name is null.

See Also

Assembly Class | Assembly Members | System.Reflection Namespace | Assembly.GetType Overload List