System.Reflection.Module Members

The members of System.Reflection.Module are listed below.

See Also: Inherited members from System.Object

Protected Constructors

Initializes a new instance of the System.Reflection.Module class.

Public Fields

static readonly
FilterTypeNameTypeFilter (null).

A TypeFilter object that filters the list of types defined in this module based upon the name. This field is case-sensitive and read-only.

static readonly
FilterTypeNameIgnoreCaseTypeFilter (null).

A TypeFilter object that filters the list of types defined in this module based upon the name. This field is case-insensitive and read-only.

Public Properties

[read-only]
AssemblyAssembly.

Gets the appropriate System.Reflection.Assembly for this instance of System.Reflection.Module.

[read-only]
CustomAttributesIEnumerable<CustomAttributeData>.

Gets a collection that contains this module's custom attributes.

[read-only]
FullyQualifiedNamestring.

Gets a string representing the fully qualified name and path to this module.

[read-only]
MDStreamVersionint.

Gets the metadata stream version.

[read-only]
MetadataTokenint.

Gets a token that identifies the module in metadata.

[read-only]
ModuleHandleModuleHandle.

Gets a handle for the module.

[read-only]
ModuleVersionIdGuid.

Gets a universally unique identifier (UUID) that can be used to distinguish between two versions of a module.

[read-only]
Namestring.

Gets a String representing the name of the module with the path removed.

[read-only]
ScopeNamestring.

Gets a string representing the name of the module.

Public Methods

override
Equals(object) : bool

Determines whether this module and the specified object are equal.

FindTypes(TypeFilter, object) : Type[]

Returns an array of classes accepted by the given filter and filter criteria.

GetCustomAttributes(bool) : object[]

Returns all custom attributes.

GetCustomAttributes(Type, bool) : object[]

Gets custom attributes of the specified type.

GetCustomAttributesData() : IList<CustomAttributeData>

Returns a list of System.Reflection.CustomAttributeData objects for the current module, which can be used in the reflection-only context.

GetField(string) : FieldInfo

Returns a field having the specified name.

GetField(string, BindingFlags) : FieldInfo

Returns a field having the specified name and binding attributes.

GetFields() : FieldInfo[]

Returns the global fields defined on the module.

GetFields(BindingFlags) : FieldInfo[]

Returns the global fields defined on the module that match the specified binding flags.

override
GetHashCode() : int

Returns the hash code for this instance.

GetMethod(string) : MethodInfo

Returns a method having the specified name.

GetMethod(string, Type[]) : MethodInfo

Returns a method having the specified name and parameter types.

GetMethod(string, BindingFlags, Binder, CallingConventions, Type[], ParameterModifier[]) : MethodInfo

Returns a method having the specified name, binding information, calling convention, and parameter types and modifiers.

GetMethods() : MethodInfo[]

Returns the global methods defined on the module.

GetMethods(BindingFlags) : MethodInfo[]

Returns the global methods defined on the module that match the specified binding flags.

GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)

Provides an System.Runtime.Serialization.ISerializable implementation for serialized objects.

GetPEKind(out PortableExecutableKinds, out ImageFileMachine)
Documentation for this section has not yet been entered.
GetSignerCertificate() : System.Security.Cryptography.X509Certificates.X509Certificate

Returns an X509Certificate object corresponding to the certificate included in the Authenticode signature of the assembly which this module belongs to. If the assembly has not been Authenticode signed, null is returned.

GetType(string) : Type

Returns the specified type, performing a case-sensitive search.

GetType(string, bool) : Type

Returns the specified type, searching the module with the specified case sensitivity.

GetType(string, bool, bool) : Type

Returns the specified type, specifying whether to make a case-sensitive search of the module and whether to throw an exception if the type cannot be found.

GetTypes() : Type[]

Returns all the types defined within this module.

IsDefined(Type, bool) : bool

Returns a value that indicates whether the specified attribute type has been applied to this module.

IsResource() : bool

Gets a value indicating whether the object is a resource.

ResolveField(int) : FieldInfo

Returns the field identified by the specified metadata token.

ResolveField(int, Type[], Type[]) : FieldInfo

Returns the field identified by the specified metadata token, in the context defined by the specified generic type parameters.

ResolveMember(int) : MemberInfo

Returns the type or member identified by the specified metadata token.

ResolveMember(int, Type[], Type[]) : MemberInfo

Returns the type or member identified by the specified metadata token, in the context defined by the specified generic type parameters.

ResolveMethod(int) : MethodBase

Returns the method or constructor identified by the specified metadata token.

ResolveMethod(int, Type[], Type[]) : MethodBase

Returns the method or constructor identified by the specified metadata token, in the context defined by the specified generic type parameters.

ResolveSignature(int) : byte[]

Returns the signature blob identified by a metadata token.

ResolveString(int) : string

Returns the string identified by the specified metadata token.

ResolveType(int) : Type

Returns the type identified by the specified metadata token.

ResolveType(int, Type[], Type[]) : Type

Returns the type identified by the specified metadata token, in the context defined by the specified generic type parameters.

override
ToString() : string

Returns the name of the module.

Protected Methods

GetMethodImpl(string, BindingFlags, Binder, CallingConventions, Type[], ParameterModifier[]) : MethodInfo

Returns the method implementation in accordance with the specified criteria.

Public Operators

static
Equality(Module, Module)

Indicates whether two System.Reflection.Module objects are equal.

static
Inequality(Module, Module)

Indicates whether two System.Reflection.Module objects are not equal.

Explicitly Implemented Interface Members

System.Runtime.InteropServices._Module.GetIDsOfNamesDocumentation for this section has not yet been entered.
System.Runtime.InteropServices._Module.GetTypeInfo

Retrieves the type information for an object, which can then be used to get the type information for an interface.

System.Runtime.InteropServices._Module.GetTypeInfoCountDocumentation for this section has not yet been entered.
System.Runtime.InteropServices._Module.InvokeDocumentation for this section has not yet been entered.