Delen via


ConstructorInfoWrapper Class

Provides extra properties for the ConstructorInfo class.

Inheritance Hierarchy

Object
  MemberInfo
    MethodBase
      ConstructorInfo
        Microsoft.VisualStudio.Shell.Design.ConstructorInfoWrapper

Namespace:  Microsoft.VisualStudio.Shell.Design
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

Syntax

'Declaration
Public Class ConstructorInfoWrapper _
    Inherits ConstructorInfo
public class ConstructorInfoWrapper : ConstructorInfo
public ref class ConstructorInfoWrapper : public ConstructorInfo
type ConstructorInfoWrapper =  
    class 
        inherit ConstructorInfo 
    end
public class ConstructorInfoWrapper extends ConstructorInfo

The ConstructorInfoWrapper type exposes the following members.

Constructors

  Name Description
Public method ConstructorInfoWrapper Instantiates a new instance of ConstructorInfoWrapper.

Top

Properties

  Name Description
Public property Attributes Gets the attributes of this method. (Overrides MethodBase.Attributes.)
Public property CallingConvention Gets the calling conventions for this method. (Overrides MethodBase.CallingConvention.)
Public property ContainsGenericParameters Determines whether this method has generic parameters. (Overrides MethodBase.ContainsGenericParameters.)
Public property DeclaringType Gets the type that declares this method. (Overrides MemberInfo.DeclaringType.)
Public property IsAbstract Gets a value indicating whether the method is abstract. (Inherited from MethodBase.)
Public property IsAssembly Gets a value indicating whether the potential visibility of this method or constructor is described by MethodAttributes.Assembly; that is, the method or constructor is visible at most to other types in the same assembly, and is not visible to derived types outside the assembly. (Inherited from MethodBase.)
Public property IsConstructor Gets a value indicating whether the method is a constructor. (Inherited from MethodBase.)
Public property IsFamily Gets a value indicating whether the visibility of this method or constructor is described by MethodAttributes.Family; that is, the method or constructor is visible only within its class and derived classes. (Inherited from MethodBase.)
Public property IsFamilyAndAssembly Gets a value indicating whether the visibility of this method or constructor is described by MethodAttributes.FamANDAssem; that is, the method or constructor can be called by derived classes, but only if they are in the same assembly. (Inherited from MethodBase.)
Public property IsFamilyOrAssembly Gets a value indicating whether the potential visibility of this method or constructor is described by MethodAttributes.FamORAssem; that is, the method or constructor can be called by derived classes wherever they are, and by classes in the same assembly. (Inherited from MethodBase.)
Public property IsFinal Gets a value indicating whether this method is final. (Inherited from MethodBase.)
Public property IsGenericMethod Gets a value indicating whether the method is generic. (Inherited from MethodBase.)
Public property IsGenericMethodDefinition Determines whether this is a generic method definition. (Overrides MethodBase.IsGenericMethodDefinition.)
Public property IsHideBySig Gets a value indicating whether only a member of the same kind with exactly the same signature is hidden in the derived class. (Inherited from MethodBase.)
Public property IsPrivate Gets a value indicating whether this member is private. (Inherited from MethodBase.)
Public property IsPublic Gets a value indicating whether this is a public method. (Inherited from MethodBase.)
Public property IsSecurityCritical Gets a value that indicates whether the current method or constructor is security-critical or security-safe-critical at the current trust level, and therefore can perform critical operations. (Inherited from MethodBase.)
Public property IsSecuritySafeCritical Gets a value that indicates whether the current method or constructor is security-safe-critical at the current trust level; that is, whether it can perform critical operations and can be accessed by transparent code. (Inherited from MethodBase.)
Public property IsSecurityTransparent Gets a value that indicates whether the current method or constructor is transparent at the current trust level, and therefore cannot perform critical operations. (Inherited from MethodBase.)
Public property IsSpecialName Gets a value indicating whether this method has a special name. (Inherited from MethodBase.)
Public property IsStatic Gets a value indicating whether the method is static. (Inherited from MethodBase.)
Public property IsVirtual Gets a value indicating whether the method is virtual. (Inherited from MethodBase.)
Public property MemberType Gets a MemberTypes value indicating that this is a constructor. (Overrides ConstructorInfo.MemberType.)
Public property MetadataToken Gets the ID of the metadata element. (Overrides MemberInfo.MetadataToken.)
Public property MethodHandle Gets a handle to the internal metadata representation of a method. (Overrides MethodBase.MethodHandle.)
Public property Module Gets the module in which the type that declares the member represented by the current MemberInfo is defined. (Overrides MemberInfo.Module.)
Public property Name Gets the name of this method. (Overrides MemberInfo.Name.)
Public property ReflectedType Gets the type of the class that was used to get this method. (Overrides MemberInfo.ReflectedType.)
Public property UnderlyingConstructor Gets this ConstructorInfo.

Top

Methods

  Name Description
Public method Equals Determines whether this instance is the same as the specified object. (Overrides ConstructorInfo.Equals(Object).)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetCustomAttributes(Boolean) Gets all the custom attributes applied to this member. (Overrides MemberInfo.GetCustomAttributes(Boolean).)
Public method GetCustomAttributes(Type, Boolean) Gets all the custom attributes applied to this member of the specified type. (Overrides MemberInfo.GetCustomAttributes(Type, Boolean).)
Public method GetCustomAttributesData Gets the data for the attributes that have been applied to this method. (Overrides MemberInfo.GetCustomAttributesData.)
Public method GetGenericArguments Gets the type arguments of a generic method or the type parameters of a generic method definition. (Overrides MethodBase.GetGenericArguments.)
Public method GetHashCode Gets the hash code for this instance. (Overrides ConstructorInfo.GetHashCode.)
Public method GetMethodBody Gets a MethodBody object that provides access to the MSIL stream, local variables, and exceptions for this method. (Overrides MethodBase.GetMethodBody.)
Public method GetMethodImplementationFlags Gets the method implementation attributes. (Overrides MethodBase.GetMethodImplementationFlags.)
Public method GetParameters Gets the parameters of this method. (Overrides MethodBase.GetParameters.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Invoke(Object) Invokes the constructor reflected by the instance that has the specified parameters, providing default values for the parameters not commonly used. (Inherited from ConstructorInfo.)
Public method Invoke(Object, Object) Invokes the method or constructor represented by the current instance, using the specified parameters. (Inherited from MethodBase.)
Public method Invoke(BindingFlags, Binder, array<Object[], CultureInfo) Invokes the constructor with the specified parameters. (Overrides ConstructorInfo.Invoke(BindingFlags, Binder, Object, CultureInfo).)
Public method Invoke(Object, BindingFlags, Binder, array<Object[], CultureInfo) Invokes the constructor with the specified parameters. (Overrides MethodBase.Invoke(Object, BindingFlags, Binder, Object, CultureInfo).)
Public method IsDefined Determines whether one or more attributes of the specified type or of its derived types is applied to this member. (Overrides MemberInfo.IsDefined(Type, Boolean).)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Overrides Object.ToString.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method System#Runtime#InteropServices#_ConstructorInfo#GetIDsOfNames Maps a set of names to a corresponding set of dispatch identifiers. (Inherited from ConstructorInfo.)
Explicit interface implemetationPrivate method System#Runtime#InteropServices#_MethodBase#GetIDsOfNames Maps a set of names to a corresponding set of dispatch identifiers. (Inherited from MethodBase.)
Explicit interface implemetationPrivate method System#Runtime#InteropServices#_MemberInfo#GetIDsOfNames Maps a set of names to a corresponding set of dispatch identifiers. (Inherited from MemberInfo.)
Explicit interface implemetationPrivate method System#Runtime#InteropServices#_ConstructorInfo#GetType Gets a Type object representing the ConstructorInfo type. (Inherited from ConstructorInfo.)
Explicit interface implemetationPrivate method System#Runtime#InteropServices#_MethodBase#GetType For a description of this member, see _MethodBase.GetType. (Inherited from MethodBase.)
Explicit interface implemetationPrivate method System#Runtime#InteropServices#_MemberInfo#GetType Gets a Type object representing the MemberInfo class. (Inherited from MemberInfo.)
Explicit interface implemetationPrivate method System#Runtime#InteropServices#_ConstructorInfo#GetTypeInfo Retrieves the type information for an object, which can then be used to get the type information for an interface. (Inherited from ConstructorInfo.)
Explicit interface implemetationPrivate method System#Runtime#InteropServices#_MethodBase#GetTypeInfo Retrieves the type information for an object, which can then be used to get the type information for an interface. (Inherited from MethodBase.)
Explicit interface implemetationPrivate method System#Runtime#InteropServices#_MemberInfo#GetTypeInfo Retrieves the type information for an object, which can then be used to get the type information for an interface. (Inherited from MemberInfo.)
Explicit interface implemetationPrivate method System#Runtime#InteropServices#_ConstructorInfo#GetTypeInfoCount Retrieves the number of type information interfaces that an object provides (either 0 or 1). (Inherited from ConstructorInfo.)
Explicit interface implemetationPrivate method System#Runtime#InteropServices#_MethodBase#GetTypeInfoCount Retrieves the number of type information interfaces that an object provides (either 0 or 1). (Inherited from MethodBase.)
Explicit interface implemetationPrivate method System#Runtime#InteropServices#_MemberInfo#GetTypeInfoCount Retrieves the number of type information interfaces that an object provides (either 0 or 1). (Inherited from MemberInfo.)
Explicit interface implemetationPrivate method System#Runtime#InteropServices#_ConstructorInfo#Invoke Provides access to properties and methods exposed by an object. (Inherited from ConstructorInfo.)
Explicit interface implemetationPrivate method System#Runtime#InteropServices#_MethodBase#Invoke Provides access to properties and methods exposed by an object. (Inherited from MethodBase.)
Explicit interface implemetationPrivate method System#Runtime#InteropServices#_MemberInfo#Invoke Provides access to properties and methods exposed by an object. (Inherited from MemberInfo.)
Explicit interface implemetationPrivate method System#Runtime#InteropServices#_ConstructorInfo#Invoke_2 Provides COM objects with version-independent access to the MethodBase.Invoke(Object, BindingFlags, Binder, Object, CultureInfo) method. (Inherited from ConstructorInfo.)
Explicit interface implemetationPrivate method System#Runtime#InteropServices#_ConstructorInfo#Invoke_3 Provides COM objects with version-independent access to the MethodBase.Invoke(Object, Object) method. (Inherited from ConstructorInfo.)
Explicit interface implemetationPrivate method System#Runtime#InteropServices#_ConstructorInfo#Invoke_4 Provides COM objects with version-independent access to the ConstructorInfo.Invoke(BindingFlags, Binder, Object, CultureInfo) method. (Inherited from ConstructorInfo.)
Explicit interface implemetationPrivate method System#Runtime#InteropServices#_ConstructorInfo#Invoke_5 Provides COM objects with version-independent access to the ConstructorInfo.Invoke(Object) method. (Inherited from ConstructorInfo.)
Explicit interface implemetationPrivate property System#Runtime#InteropServices#_MethodBase#IsAbstract For a description of this member, see _MethodBase.IsAbstract. (Inherited from MethodBase.)
Explicit interface implemetationPrivate property System#Runtime#InteropServices#_MethodBase#IsAssembly For a description of this member, see _MethodBase.IsAssembly. (Inherited from MethodBase.)
Explicit interface implemetationPrivate property System#Runtime#InteropServices#_MethodBase#IsConstructor For a description of this member, see _MethodBase.IsConstructor. (Inherited from MethodBase.)
Explicit interface implemetationPrivate property System#Runtime#InteropServices#_MethodBase#IsFamily For a description of this member, see _MethodBase.IsFamily. (Inherited from MethodBase.)
Explicit interface implemetationPrivate property System#Runtime#InteropServices#_MethodBase#IsFamilyAndAssembly For a description of this member, see _MethodBase.IsFamilyAndAssembly. (Inherited from MethodBase.)
Explicit interface implemetationPrivate property System#Runtime#InteropServices#_MethodBase#IsFamilyOrAssembly For a description of this member, see _MethodBase.IsFamilyOrAssembly. (Inherited from MethodBase.)
Explicit interface implemetationPrivate property System#Runtime#InteropServices#_MethodBase#IsFinal For a description of this member, see _MethodBase.IsFinal. (Inherited from MethodBase.)
Explicit interface implemetationPrivate property System#Runtime#InteropServices#_MethodBase#IsHideBySig For a description of this member, see _MethodBase.IsHideBySig. (Inherited from MethodBase.)
Explicit interface implemetationPrivate property System#Runtime#InteropServices#_MethodBase#IsPrivate For a description of this member, see _MethodBase.IsPrivate. (Inherited from MethodBase.)
Explicit interface implemetationPrivate property System#Runtime#InteropServices#_MethodBase#IsPublic For a description of this member, see _MethodBase.IsPublic. (Inherited from MethodBase.)
Explicit interface implemetationPrivate property System#Runtime#InteropServices#_MethodBase#IsSpecialName For a description of this member, see _MethodBase.IsSpecialName. (Inherited from MethodBase.)
Explicit interface implemetationPrivate property System#Runtime#InteropServices#_MethodBase#IsStatic For a description of this member, see _MethodBase.IsStatic. (Inherited from MethodBase.)
Explicit interface implemetationPrivate property System#Runtime#InteropServices#_MethodBase#IsVirtual For a description of this member, see _MethodBase.IsVirtual. (Inherited from MethodBase.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.Shell.Design Namespace