Table of Contents

Class MetadataConstructorInfo

Namespace
Microsoft.Samples.Debugging.CorMetadata
Assembly
corapi.dll
public sealed class MetadataConstructorInfo : ConstructorInfo, ICustomAttributeProvider, _MemberInfo, _MethodBase, _ConstructorInfo
Inheritance
MetadataConstructorInfo
Implements

Properties

Attributes

Gets the attributes associated with this method.

DeclaringType

Type that the method is declared in.

MetadataToken

Metadata token for this method. Be sure to use this in the proper scope.

MethodHandle

Gets a handle to the internal metadata representation of a method.

Name

Name of the Method, not including the class name.

ReflectedType

Gets the class object that was used to obtain this instance of MemberInfo.

Methods

GetCustomAttributes(bool)

When overridden in a derived class, returns an array of all custom attributes applied to this member.

GetCustomAttributes(Type, bool)

When overridden in a derived class, returns an array of custom attributes applied to this member and identified by Type.

GetGenericArgumentNames()
GetMethodImplementationFlags()

When overridden in a derived class, returns the MethodImplAttributes flags.

GetParameters()

When overridden in a derived class, gets the parameters of the specified method or constructor.

HasCustomAttribute(string)

Does the function have the custom attribute on it.

Invoke(object, BindingFlags, Binder, object[], CultureInfo)

When overridden in a derived class, invokes the reflected method or constructor with the given parameters.

Invoke(BindingFlags, Binder, object[], CultureInfo)

When implemented in a derived class, invokes the constructor reflected by this ConstructorInfo with the specified arguments, under the constraints of the specified Binder.

IsDefined(Type, bool)

When overridden in a derived class, indicates whether one or more attributes of the specified type or of its derived types is applied to this member.