1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203
|
<Type Name="ConstructorInfo" FullName="System.Reflection.ConstructorInfo" FullNameSP="System_Reflection_ConstructorInfo" Maintainer="ecma">
<TypeSignature Language="ILASM" Value=".class public abstract serializable ConstructorInfo extends System.Reflection.MethodBase" />
<TypeSignature Language="C#" Value="public abstract class ConstructorInfo : System.Reflection.MethodBase, System.Runtime.InteropServices._ConstructorInfo" />
<MemberOfLibrary>Reflection</MemberOfLibrary>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<AssemblyPublicKey>[00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 ]</AssemblyPublicKey>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
</AssemblyInfo>
<ThreadingSafetyStatement>This type is safe for multithreaded operations. </ThreadingSafetyStatement>
<Docs>
<summary>
<para> Provides access to constructor metadata.</para>
</summary>
<permission cref="T:System.Security.Permissions.ReflectionPermission">Requires permission to reflect non-public members of a type in loaded assemblies. See <see cref="F:System.Security.Permissions.ReflectionPermissionFlag.TypeInformation" />.</permission>
<remarks>To be added.</remarks>
</Docs>
<Base>
<BaseTypeName>System.Reflection.MethodBase</BaseTypeName>
</Base>
<Interfaces>
<Interface>
<InterfaceName>System.Runtime.InteropServices._ConstructorInfo</InterfaceName>
</Interface>
</Interfaces>
<Attributes>
<Attribute>
<AttributeName>System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)</AttributeName>
</Attribute>
</Attributes>
<Members>
<Member MemberName="ConstructorName">
<MemberSignature Language="ILASM" Value=".field public static initOnly string ConstructorName" />
<MemberSignature Language="C#" Value="public static readonly string ConstructorName;" />
<MemberType>Field</MemberType>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
<para> A string containing the name of an object constructor
as it is stored in metadata. </para>
</summary>
<remarks>
<para>This field is read-only.</para>
<para>This field is a <see cref="T:System.String" /> that contains the value ".ctor". An object
constructor will be named with this field if and only if it is not a type initializer.</para>
<block subset="none" type="note">
<para>For more information on type
initializers, see <see cref="F:System.Reflection.ConstructorInfo.TypeConstructorName" />.</para>
<para>For more information on object constructors, see Partition II of the CLI
Specification.</para>
</block>
</remarks>
</Docs>
<Excluded>0</Excluded>
<MemberValue>.ctor</MemberValue></Member>
<Member MemberName="TypeConstructorName">
<MemberSignature Language="ILASM" Value=".field public static initOnly string TypeConstructorName" />
<MemberSignature Language="C#" Value="public static readonly string TypeConstructorName;" />
<MemberType>Field</MemberType>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
<para> A string containing the name of a type initializer as it is stored in
metadata. </para>
</summary>
<remarks>
<para>This field is read-only.</para>
<para>This field is a <see cref="T:System.String" /> that contains the value ".cctor".</para>
<block subset="none" type="note">
<para> A type initializer can be applied to all types. It
allows the type to perform any initialization required before any members
declared within the type are accessed. Type initializers accept no parameters
and always have a return type of void. A type constructor only has access to a
type's static fields and its usual purpose is to initialize those fields. A
type's constructor is guaranteed to run before any instance of the type is
created and before any static field or method of the type is referenced. </para>
<para>Many languages (including C#) automatically generate type constructors for
all implementer-defined types. However, some languages require that type
constructors be explicitly implemented.</para>
<para>For more information on type initializers, see Partition II of the CLI
Specification.</para>
</block>
</remarks>
</Docs>
<Excluded>0</Excluded>
<MemberValue>.cctor</MemberValue></Member>
<Member MemberName="Invoke">
<MemberSignature Language="ILASM" Value=".method public hidebysig virtual abstract object Invoke(valuetype System.Reflection.BindingFlags invokeAttr, class System.Reflection.Binder binder, class System.Object[] parameters, class System.Globalization.CultureInfo culture)" />
<MemberSignature Language="C#" Value="public abstract object Invoke (System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, object[] parameters, System.Globalization.CultureInfo culture);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Object</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="invokeAttr" Type="System.Reflection.BindingFlags" />
<Parameter Name="binder" Type="System.Reflection.Binder" />
<Parameter Name="parameters" Type="System.Object[]" />
<Parameter Name="culture" Type="System.Globalization.CultureInfo" />
</Parameters>
<Docs>
<param name="invokeAttr">A <see cref="T:System.Reflection.BindingFlags" /> value that controls the binding process.</param>
<param name="binder">A <see cref="T:System.Reflection.Binder" /> that defines a set of properties and enables the binding, coercion of argument types, and invocation of members using reflection. If <paramref name="binder " />is <see langword="null" />, then the default binder is used.</param>
<param name="parameters">An array of objects that match the number, order and type of the parameters for the constructor reflected by the current instance. If the constructor reflected by the current instance takes no parameters, specify either an array with zero elements or <see langword="null" /> . <block subset="none" type="note">Any object in this array that is not explicitly initialized with a value will contain the default value for that object type. For reference-type elements, this value is <see langword="null" />. For value-type elements, this value is 0, 0.0, or <see langword="false" />, depending on the specific element type.</block></param>
<param name="culture">
<para>The only defined value for this parameter is <see langword="null" /> .</para>
</param>
<summary>
<para> Invokes the constructor reflected by the current
instance using the specified arguments, under the constraints of the specified <see cref="T:System.Reflection.Binder" />
.</para>
</summary>
<returns>
<para>An instance of the class that declared the constructor reflected by the current instance.</para>
</returns>
<exception cref="T:System.ArgumentException">The types of the elements of <paramref name="parameters" /> do not match the types of the parameters accepted by the constructor reflected by the current instance, under the constraints of <paramref name="binder" />.</exception>
<exception cref="T:System.MethodAccessException">The caller does not have the required permissions.</exception>
<exception cref="T:System.Reflection.TargetInvocationException">The constructor reflected by the current instance threw an exception.</exception>
<exception cref="T:System.Reflection.TargetParameterCountException">
<paramref name="parameters" />.Length does not equal the number of parameters required by the contract of the constructor reflected by the current instance.</exception>
<remarks>
<para>
<block subset="none" type="behaviors">Before calling
the constructor, this method ensures that the caller has access permission and
that the parameters are of the correct number, order and type.</block>
</para>
</remarks>
<permission cref="T:System.Security.Permissions.ReflectionPermission">Requires permission to invoke non-public members of loaded assemblies. See <see cref="F:System.Security.Permissions.ReflectionPermissionFlag.MemberAccess" />.</permission>
<param name="binder">To be added.</param>
<param name="parameters">To be added.</param>
<param name="culture">To be added.</param>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName="Invoke">
<MemberSignature Language="ILASM" Value=".method public hidebysig instance object Invoke(class System.Object[] parameters)" />
<MemberSignature Language="C#" Value="public object Invoke (object[] parameters);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Object</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="parameters" Type="System.Object[]" />
</Parameters>
<Docs>
<summary>
<para> Invokes the constructor reflected by the current instance using the specified
parameters.</para>
</summary>
<param name="parameters">An array of objects that match the number, order and type of the parameters for the constructor reflected by the current instance. If the constructor reflected by the current instance takes no parameters, specify either an array with zero elements or <see langword="null" />. <block subset="none" type="note">Any object in this array that is not explicitly initialized with a value will contain the default value for that object type. For reference-type elements, this value is <see langword="null" />. For value-type elements, this value is 0, 0.0, or <see langword="false" /> , depending on the specific element type.</block></param>
<returns>
<para>An
instance of the class that declared the constructor reflected by the
current instance.</para>
</returns>
<exception cref="T:System.ArgumentException">
<para>The types of the elements of <paramref name="parameters" /> do not match the types of the parameters accepted by the constructor reflected by the current instance, under the constraints of <paramref name="binder" />.</para>
</exception>
<exception cref="T:System.MethodAccessException">The caller does not have the required permissions.</exception>
<exception cref="T:System.Reflection.TargetInvocationException">The constructor reflected by the current instance threw an exception.</exception>
<exception cref="T:System.Reflection.TargetParameterCountException">
<paramref name="parameters" />.Length does not equal the number of parameters required by the contract of the constructor reflected by the current instance.</exception>
<permission cref="T:System.Security.Permissions.ReflectionPermission">Requires permission to invoke non-public members of loaded assemblies. See <see cref="F:System.Security.Permissions.ReflectionPermissionFlag.MemberAccess" />.</permission>
<remarks>To be added.</remarks>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="ILASM" Value="family rtspecialname specialname instance void .ctor()" />
<MemberSignature Language="C#" Value="protected ConstructorInfo ();" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters />
<Docs>
<summary>
<para>Constructs a new instance of the <see cref="T:System.Reflection.ConstructorInfo" />
class.</para>
</summary>
<remarks>To be added.</remarks>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName="GetType">
<MemberSignature Language="C#" Value="public Type GetType ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Type</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member></Members>
<TypeExcluded>0</TypeExcluded>
</Type>
|