EN
Il contenuto non è disponibile nella lingua di destinazione, ma solo in inglese.
Questo argomento non è stato ancora valutato - Valuta questo argomento

ModuleBuilder Methods

(see also Protected Methods )
  Name Description
Public method CreateGlobalFunctions Completes the global function definitions and global data definitions for this dynamic module.
Public method DefineDocument Defines a document for source.
Public method DefineEnum Defines an enumeration type that is a value type with a single non-static field called value__ of the specified type.
Public method DefineGlobalMethod Overloaded. Defines a global method.
Public method DefineInitializedData Defines an initialized data field in the .sdata section of the portable executable (PE) file.
Public method DefineManifestResource Defines a manifest resource blob to be embedded in the dynamic assembly.
Public method DefinePInvokeMethod Overloaded. Defines a PInvoke method.
Public method DefineResource Overloaded. Defines a managed embedded resource to be stored in this module.
Public method DefineType Overloaded. Constructs a TypeBuilder. To define a value type, define a type that is derives ValueType.
Public method DefineUninitializedData Defines an uninitialized data field in the .sdata section of the portable executable (PE) file.
Public method DefineUnmanagedResource Overloaded. Defines an unmanaged resource in this module. The blob must have the right format for a Win32 resource.
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method FindTypes  Returns an array of classes accepted by the given filter and filter criteria. (inherited from Module)
Public method GetArrayMethod Returns the named method on an array class.
Public method GetArrayMethodToken Returns the token for the named method on an array class.
Public method GetConstructorToken Returns the token used to identify the specified constructor within this module.
Public method GetCustomAttributes  Overloaded. Returns custom attributes. (inherited from Module)
Public method GetField  Overloaded. Returns a specified field. (inherited from Module)
Public method GetFields  Overloaded. Returns the global fields defined on the module. (inherited from Module)
Public method GetFieldToken Returns the token used to identify the specified field within this module.
Public method GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetMethod  Overloaded. Returns a method having the specified criteria. (inherited from Module)
Public method GetMethods  Overloaded. Returns the global methods defined on the module (inherited from Module)
Public method GetMethodToken Returns the token used to identify the specified method within this module.
Public method GetObjectData  Provides an ISerializable implementation for serialized objects. (inherited from Module)
Public method GetPEKind  Gets a pair of values indicating the nature of the code in a module and the platform targeted by the module. (inherited from Module)
Public method GetSignatureToken Overloaded. Defines a signature token.
Public method GetSignerCertificate  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, a null reference (Nothing in Visual Basic) is returned. (inherited from Module)
Public method GetStringConstant Returns the token of the given string in the module’s constant pool.
Public method GetSymWriter Returns the symbol writer associated with this dynamic module.
Public method GetType Overloaded. Gets a named type defined in the module.
Public method GetTypes Overridden. Returns all the classes defined within this module.
Public method GetTypeToken Overloaded. Returns a type token.
Public method IsDefined  Determines if the specified attributeType is defined on this module. (inherited from Module)
Public method IsResource  Gets a value indicating whether the object is a resource. (inherited from Module)
Public method IsTransient Checks if this dynamic module is transient.
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method ResolveField  Overloaded. Returns the field identified by a metadata token. (inherited from Module)
Public method ResolveMember  Overloaded. Returns the type or member identified by a metadata token. (inherited from Module)
Public method ResolveMethod  Overloaded. Returns the method identified by a metadata token. (inherited from Module)
Public method ResolveSignature  Returns the signature blob identified by a metadata token. (inherited from Module)
Public method ResolveString  Returns the string identified by the specified metadata token. (inherited from Module)
Public method ResolveType  Overloaded. Returns the type identified by a metadata token. (inherited from Module)
Public method SetCustomAttribute Overloaded. Sets a custom attribute.
Public method SetSymCustomAttribute This method does nothing.
Public method SetUserEntryPoint Sets the user entry point.
Public method ToString  Returns the name of the module. (inherited from Module)
Top
  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method GetMethodImpl  Returns the method implementation in accordance with the specified criteria. (inherited from Module)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Top
Il documento è risultato utile?
(1500 caratteri rimanenti)

Aggiunte alla community

AGGIUNGI
Microsoft sta conducendo un sondaggio in linea per comprendere l'opinione degli utenti in merito al sito Web di MSDN. Se si sceglie di partecipare, quando si lascia il sito Web di MSDN verrà visualizzato il sondaggio in linea.

Si desidera partecipare?
© 2013 Microsoft. Tutti i diritti riservati.