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.GetAssembly

Gets the assembly in which the specified class is defined.

[Visual Basic]
Public Shared Function GetAssembly( _
   ByVal type As Type _
) As Assembly
[C#]
public static Assembly GetAssembly(
   Type type
);
[C++]
public: static Assembly* GetAssembly(
   Type* type
);
[JScript]
public static function GetAssembly(
   type : Type
) : Assembly;

Parameters

type
A Type object representing a class in the assembly that will be returned.

Return Value

The assembly in which the specified class is defined.

Exceptions

Exception Type Condition
ArgumentNullException if type is a null reference (in Visual Basic Nothing).

See Also

Assembly Class | Assembly Members | System.Reflection Namespace