ModuleBuilder 클래스

정의

동적 어셈블리의 모듈을 정의하고 나타냅니다.

public ref class ModuleBuilder : System::Reflection::Module, System::Runtime::InteropServices::_ModuleBuilder
public ref class ModuleBuilder : System::Reflection::Module
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
public class ModuleBuilder : System.Reflection.Module, System.Runtime.InteropServices._ModuleBuilder
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.ComVisible(true)]
public class ModuleBuilder : System.Reflection.Module, System.Runtime.InteropServices._ModuleBuilder
public class ModuleBuilder : System.Reflection.Module
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
type ModuleBuilder = class
    inherit Module
    interface _ModuleBuilder
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type ModuleBuilder = class
    inherit Module
    interface _ModuleBuilder
type ModuleBuilder = class
    inherit Module
Public Class ModuleBuilder
Inherits Module
Implements _ModuleBuilder
Public Class ModuleBuilder
Inherits Module
상속
ModuleBuilder
특성
구현

예제

다음 코드 샘플에서는 동적 모듈을 만드는 데 사용하는 ModuleBuilder 방법을 보여 줍니다. ModuleBuilder는 생성자를 통하지 않고 호출 DefineDynamicModuleAssemblyBuilder하여 생성됩니다.

using System;
using System.Reflection;
using System.Reflection.Emit;
using System.Security.Permissions;

public class CodeGenerator
{
   AssemblyBuilder myAssemblyBuilder;
   public CodeGenerator()
   {
      // Get the current application domain for the current thread.
      AppDomain myCurrentDomain = AppDomain.CurrentDomain;
      AssemblyName myAssemblyName = new AssemblyName();
      myAssemblyName.Name = "TempAssembly";

      // Define a dynamic assembly in the current application domain.
      myAssemblyBuilder = myCurrentDomain.DefineDynamicAssembly
                     (myAssemblyName, AssemblyBuilderAccess.Run);

      // Define a dynamic module in this assembly.
      ModuleBuilder myModuleBuilder = myAssemblyBuilder.
                                      DefineDynamicModule("TempModule");

      // Define a runtime class with specified name and attributes.
      TypeBuilder myTypeBuilder = myModuleBuilder.DefineType
                                       ("TempClass",TypeAttributes.Public);

      // Add 'Greeting' field to the class, with the specified attribute and type.
      FieldBuilder greetingField = myTypeBuilder.DefineField("Greeting",
                                                            typeof(String), FieldAttributes.Public);
      Type[] myMethodArgs = { typeof(String) };

      // Add 'MyMethod' method to the class, with the specified attribute and signature.
      MethodBuilder myMethod = myTypeBuilder.DefineMethod("MyMethod",
         MethodAttributes.Public, CallingConventions.Standard, null,myMethodArgs);

      ILGenerator methodIL = myMethod.GetILGenerator();
      methodIL.EmitWriteLine("In the method...");
      methodIL.Emit(OpCodes.Ldarg_0);
      methodIL.Emit(OpCodes.Ldarg_1);
      methodIL.Emit(OpCodes.Stfld, greetingField);
      methodIL.Emit(OpCodes.Ret);
      myTypeBuilder.CreateType();
   }
   public AssemblyBuilder MyAssembly
   {
      get
      {
         return this.myAssemblyBuilder;
      }
   }
}
public class TestClass
{
   public static void Main()
   {
      CodeGenerator myCodeGenerator = new CodeGenerator();
      // Get the assembly builder for 'myCodeGenerator' object.
      AssemblyBuilder myAssemblyBuilder = myCodeGenerator.MyAssembly;
      // Get the module builder for the above assembly builder object .
      ModuleBuilder myModuleBuilder = myAssemblyBuilder.
                                                           GetDynamicModule("TempModule");
      Console.WriteLine("The fully qualified name and path to this "
                               + "module is :" +myModuleBuilder.FullyQualifiedName);
      Type myType = myModuleBuilder.GetType("TempClass");
      MethodInfo myMethodInfo =
                                                myType.GetMethod("MyMethod");
       // Get the token used to identify the method within this module.
      MethodToken myMethodToken =
                        myModuleBuilder.GetMethodToken(myMethodInfo);
      Console.WriteLine("Token used to identify the method of 'myType'"
                    + " within the module is {0:x}",myMethodToken.Token);
     object[] args={"Hello."};
     object myObject = Activator.CreateInstance(myType,null,null);
     myMethodInfo.Invoke(myObject,args);
   }
}
Imports System.Reflection
Imports System.Reflection.Emit
Imports System.Security.Permissions

Public Class CodeGenerator
   Private myAssemblyBuilder As AssemblyBuilder

   Public Sub New()
      ' Get the current application domain for the current thread.
      Dim myCurrentDomain As AppDomain = AppDomain.CurrentDomain
      Dim myAssemblyName As New AssemblyName()
      myAssemblyName.Name = "TempAssembly"

      ' Define a dynamic assembly in the current application domain.
      myAssemblyBuilder = _
               myCurrentDomain.DefineDynamicAssembly(myAssemblyName, AssemblyBuilderAccess.Run)

      ' Define a dynamic module in this assembly.
      Dim myModuleBuilder As ModuleBuilder = myAssemblyBuilder.DefineDynamicModule("TempModule")

      ' Define a runtime class with specified name and attributes.
      Dim myTypeBuilder As TypeBuilder = _
               myModuleBuilder.DefineType("TempClass", TypeAttributes.Public)

      ' Add 'Greeting' field to the class, with the specified attribute and type.
      Dim greetingField As FieldBuilder = _
               myTypeBuilder.DefineField("Greeting", GetType(String), FieldAttributes.Public)
      Dim myMethodArgs As Type() = {GetType(String)}

      ' Add 'MyMethod' method to the class, with the specified attribute and signature.
      Dim myMethod As MethodBuilder = _
               myTypeBuilder.DefineMethod("MyMethod", MethodAttributes.Public, _
               CallingConventions.Standard, Nothing, myMethodArgs)

      Dim methodIL As ILGenerator = myMethod.GetILGenerator()
      methodIL.EmitWriteLine("In the method...")
      methodIL.Emit(OpCodes.Ldarg_0)
      methodIL.Emit(OpCodes.Ldarg_1)
      methodIL.Emit(OpCodes.Stfld, greetingField)
      methodIL.Emit(OpCodes.Ret)
      myTypeBuilder.CreateType()
   End Sub

   Public ReadOnly Property MyAssembly() As AssemblyBuilder
      Get
         Return Me.myAssemblyBuilder
      End Get
   End Property
End Class

Public Class TestClass
   <PermissionSetAttribute(SecurityAction.Demand, Name:="FullTrust")> _
   Public Shared Sub Main()
      Dim myCodeGenerator As New CodeGenerator()
      ' Get the assembly builder for 'myCodeGenerator' object.
      Dim myAssemblyBuilder As AssemblyBuilder = myCodeGenerator.MyAssembly
      ' Get the module builder for the above assembly builder object .
      Dim myModuleBuilder As ModuleBuilder = myAssemblyBuilder.GetDynamicModule("TempModule")
      Console.WriteLine("The fully qualified name and path to this " + _
                        "module is :" + myModuleBuilder.FullyQualifiedName)
      Dim myType As Type = myModuleBuilder.GetType("TempClass")
      Dim myMethodInfo As MethodInfo = myType.GetMethod("MyMethod")
      ' Get the token used to identify the method within this module.
      Dim myMethodToken As MethodToken = myModuleBuilder.GetMethodToken(myMethodInfo)
      Console.WriteLine("Token used to identify the method of 'myType'" + _
                        " within the module is {0:x}", myMethodToken.Token)
      Dim args As Object() = {"Hello."}
      Dim myObject As Object = Activator.CreateInstance(myType, Nothing, Nothing)
      myMethodInfo.Invoke(myObject, args)
   End Sub
End Class

설명

인스턴스 ModuleBuilder를 얻으려면 메서드를 AssemblyBuilder.DefineDynamicModule 사용합니다.

속성

Name Description
Assembly

이 인스턴스를 정의한 동적 어셈블리를 ModuleBuilder가져옵니다.

Assembly

의 이 인스턴스Module에 적합한 Assembly 값을 가져옵니다.

(다음에서 상속됨 Module)
CustomAttributes

이 모듈의 사용자 지정 특성을 포함하는 컬렉션을 가져옵니다.

(다음에서 상속됨 Module)
FullyQualifiedName

이 모듈의 String 정규화된 이름과 경로를 나타내는 값을 가져옵니다.

MDStreamVersion

메타데이터 스트림 버전을 가져옵니다.

MDStreamVersion

메타데이터 스트림 버전을 가져옵니다.

(다음에서 상속됨 Module)
MetadataToken

메타데이터에서 현재 동적 모듈을 식별하는 토큰을 가져옵니다.

MetadataToken

메타데이터에서 모듈을 식별하는 토큰을 가져옵니다.

(다음에서 상속됨 Module)
ModuleHandle

모듈에 대한 핸들을 가져옵니다.

(다음에서 상속됨 Module)
ModuleVersionId

두 버전의 모듈을 구분하는 데 사용할 수 있는 UUID(범용 고유 식별자)를 가져옵니다.

ModuleVersionId

두 버전의 모듈을 구분하는 데 사용할 수 있는 UUID(범용 고유 식별자)를 가져옵니다.

(다음에서 상속됨 Module)
Name

메모리 내 모듈임을 나타내는 문자열입니다.

Name

경로가 String 제거된 모듈의 이름을 나타내는 값을 가져옵니다.

(다음에서 상속됨 Module)
ScopeName

동적 모듈의 이름을 나타내는 문자열을 가져옵니다.

ScopeName

모듈의 이름을 나타내는 문자열을 가져옵니다.

(다음에서 상속됨 Module)

메서드

Name Description
CreateGlobalFunctions()

이 동적 모듈에 대한 전역 함수 정의 및 전역 데이터 정의를 완료합니다.

DefineDocument(String, Guid, Guid, Guid)

원본에 대한 문서를 정의합니다.

DefineEnum(String, TypeAttributes, Type)

지정된 형식의 단일 비정적 필드가 호출 value__ 된 값 형식인 열거형 형식을 정의합니다.

DefineGlobalMethod(String, MethodAttributes, CallingConventions, Type, Type[], Type[], Type[], Type[][], Type[][])

지정된 이름, 특성, 호출 규칙, 반환 형식, 반환 형식에 대한 사용자 지정 한정자, 매개 변수 형식 및 매개 변수 형식에 대한 사용자 지정 한정자를 사용하여 전역 메서드를 정의합니다.

DefineGlobalMethod(String, MethodAttributes, CallingConventions, Type, Type[])

지정된 이름, 특성, 호출 규칙, 반환 형식 및 매개 변수 형식을 사용하여 전역 메서드를 정의합니다.

DefineGlobalMethod(String, MethodAttributes, Type, Type[])

지정된 이름, 특성, 반환 형식 및 매개 변수 형식을 사용하여 전역 메서드를 정의합니다.

DefineInitializedData(String, Byte[], FieldAttributes)

PE(이식 가능한 실행 파일) 파일의 .sdata 섹션에서 초기화된 데이터 필드를 정의합니다.

DefineManifestResource(String, Stream, ResourceAttributes)

동적 어셈블리에 포함할 매니페스트 리소스를 나타내는 BLOB(Binary Large Object)을 정의합니다.

DefinePInvokeMethod(String, String, MethodAttributes, CallingConventions, Type, Type[], CallingConvention, CharSet)

PInvoke 지정된 이름, 메서드가 정의된 DLL의 이름, 메서드의 특성, 메서드의 호출 규칙, 메서드의 반환 형식, 메서드의 매개 변수 형식 및 PInvoke 플래그를 사용하여 메서드를 정의합니다.

DefinePInvokeMethod(String, String, String, MethodAttributes, CallingConventions, Type, Type[], CallingConvention, CharSet)

PInvoke 지정된 이름, 메서드가 정의된 DLL의 이름, 메서드의 특성, 메서드의 호출 규칙, 메서드의 반환 형식, 메서드의 매개 변수 형식 및 PInvoke 플래그를 사용하여 메서드를 정의합니다.

DefineResource(String, String, ResourceAttributes)

이 모듈에 저장할 지정된 특성을 사용하여 명명된 관리되는 임베디드 리소스를 정의합니다.

DefineResource(String, String)

이 모듈에 저장할 명명된 관리되는 임베디드 리소스를 정의합니다.

DefineType(String, TypeAttributes, Type, Int32)

TypeBuilder 지정된 형식 이름, 특성, 정의된 형식이 확장되는 형식 및 형식의 총 크기를 생성합니다.

DefineType(String, TypeAttributes, Type, PackingSize, Int32)

TypeBuilder 지정된 형식 이름, 특성, 정의된 형식이 확장되는 형식, 정의된 형식의 압축 크기 및 정의된 형식의 총 크기를 생성합니다.

DefineType(String, TypeAttributes, Type, PackingSize)

TypeBuilder 지정된 형식 이름, 특성, 정의된 형식이 확장되는 형식 및 형식의 압축 크기를 생성합니다.

DefineType(String, TypeAttributes, Type, Type[])

TypeBuilder 지정된 형식 이름, 특성, 정의된 형식이 확장하는 형식 및 정의된 형식이 구현하는 인터페이스를 생성합니다.

DefineType(String, TypeAttributes, Type)

TypeBuilder 지정된 형식 이름, 해당 특성 및 정의된 형식이 확장되는 형식을 생성합니다.

DefineType(String, TypeAttributes)

TypeBuilder 지정된 형식 이름 및 형식 특성을 생성합니다.

DefineType(String)

이 모듈에서 TypeBuilder 지정된 이름을 사용하여 프라이빗 형식에 대한 a를 생성합니다.

DefineUninitializedData(String, Int32, FieldAttributes)

PE(이식 가능한 실행 파일) 파일의 .sdata 섹션에서 초기화되지 않은 데이터 필드를 정의합니다.

DefineUnmanagedResource(Byte[])

BLOB(불투명 이진 큰 개체)의 바이트가 지정된 경우 관리되지 않는 포함된 리소스를 정의합니다.

DefineUnmanagedResource(String)

Win32 리소스 파일의 이름이 지정된 경우 관리되지 않는 리소스를 정의합니다.

Equals(Object)

이 인스턴스가 지정된 개체와 같은지 여부를 나타내는 값을 반환합니다.

Equals(Object)

이 모듈과 지정된 개체가 같은지 여부를 확인합니다.

(다음에서 상속됨 Module)
FindTypes(TypeFilter, Object)

지정된 필터 및 필터 조건에 허용되는 클래스의 배열을 반환합니다.

(다음에서 상속됨 Module)
GetArrayMethod(Type, String, CallingConventions, Type, Type[])

배열 클래스에서 명명된 메서드를 반환합니다.

GetArrayMethodToken(Type, String, CallingConventions, Type, Type[])

배열 클래스의 명명된 메서드에 대한 토큰을 반환합니다.

GetConstructorToken(ConstructorInfo, IEnumerable<Type>)

이 모듈 내에서 지정된 특성 및 매개 변수 형식이 있는 생성자를 식별하는 데 사용되는 토큰을 반환합니다.

GetConstructorToken(ConstructorInfo)

이 모듈 내에서 지정된 생성자를 식별하는 데 사용되는 토큰을 반환합니다.

GetCustomAttributes(Boolean)

현재 ModuleBuilder에 적용된 모든 사용자 지정 특성을 반환합니다.

GetCustomAttributes(Boolean)

모든 사용자 지정 특성을 반환합니다.

(다음에서 상속됨 Module)
GetCustomAttributes(Type, Boolean)

현재 ModuleBuilder에 적용되고 지정된 특성 형식에서 파생된 모든 사용자 지정 특성을 반환합니다.

GetCustomAttributes(Type, Boolean)

지정된 형식의 사용자 지정 특성을 가져옵니다.

(다음에서 상속됨 Module)
GetCustomAttributesData()

개체로 ModuleBuilder 표현된 현재CustomAttributeData에 적용된 특성에 대한 정보를 반환합니다.

GetCustomAttributesData()

리플렉션 전용 컨텍스트에서 사용할 수 있는 현재 모듈의 개체 목록을 CustomAttributeData 반환합니다.

(다음에서 상속됨 Module)
GetField(String, BindingFlags)

지정된 이름과 바인딩 특성을 가진 PE(이식 가능한 실행 파일) 파일의 .sdata 영역에 정의된 모듈 수준 필드를 반환합니다.

GetField(String, BindingFlags)

지정된 이름 및 바인딩 특성이 있는 필드를 반환합니다.

(다음에서 상속됨 Module)
GetField(String)

지정된 이름을 가진 필드를 반환합니다.

(다음에서 상속됨 Module)
GetFields()

모듈에 정의된 전역 필드를 반환합니다.

(다음에서 상속됨 Module)
GetFields(BindingFlags)

지정된 바인딩 플래그와 일치하는 PE(이식 가능한 실행 파일) 파일의 .sdata 영역에 정의된 모든 필드를 반환합니다.

GetFields(BindingFlags)

지정된 바인딩 플래그와 일치하는 모듈에 정의된 전역 필드를 반환합니다.

(다음에서 상속됨 Module)
GetFieldToken(FieldInfo)

이 모듈 내에서 지정된 필드를 식별하는 데 사용되는 토큰을 반환합니다.

GetHashCode()

이 인스턴스의 해시 코드를 반환합니다.

GetHashCode()

이 인스턴스의 해시 코드를 반환합니다.

(다음에서 상속됨 Module)
GetMethod(String, BindingFlags, Binder, CallingConventions, Type[], ParameterModifier[])

지정된 이름, 바인딩 정보, 호출 규칙, 매개 변수 형식 및 한정자가 있는 메서드를 반환합니다.

(다음에서 상속됨 Module)
GetMethod(String, Type[])

지정된 이름 및 매개 변수 형식이 있는 메서드를 반환합니다.

(다음에서 상속됨 Module)
GetMethod(String)

지정된 이름을 가진 메서드를 반환합니다.

(다음에서 상속됨 Module)
GetMethodImpl(String, BindingFlags, Binder, CallingConventions, Type[], ParameterModifier[])

지정된 조건과 일치하는 모듈 수준 메서드를 반환합니다.

GetMethodImpl(String, BindingFlags, Binder, CallingConventions, Type[], ParameterModifier[])

지정된 조건에 따라 메서드 구현을 반환합니다.

(다음에서 상속됨 Module)
GetMethods()

모듈에 정의된 전역 메서드를 반환합니다.

(다음에서 상속됨 Module)
GetMethods(BindingFlags)

현재 ModuleBuilder모듈 수준에서 정의되고 지정된 바인딩 플래그와 일치하는 모든 메서드를 반환합니다.

GetMethods(BindingFlags)

지정된 바인딩 플래그와 일치하는 모듈에 정의된 전역 메서드를 반환합니다.

(다음에서 상속됨 Module)
GetMethodToken(MethodInfo, IEnumerable<Type>)

이 모듈 내에서 지정된 특성 및 매개 변수 형식이 있는 메서드를 식별하는 데 사용되는 토큰을 반환합니다.

GetMethodToken(MethodInfo)

이 모듈 내에서 지정된 메서드를 식별하는 데 사용되는 토큰을 반환합니다.

GetObjectData(SerializationInfo, StreamingContext)

ISerializable 직렬화된 개체에 대한 구현을 제공합니다.

(다음에서 상속됨 Module)
GetPEKind(PortableExecutableKinds, ImageFileMachine)

모듈의 코드 특성과 모듈이 대상으로 하는 플랫폼을 나타내는 값 쌍을 가져옵니다.

GetPEKind(PortableExecutableKinds, ImageFileMachine)

모듈의 코드 특성과 모듈이 대상으로 하는 플랫폼을 나타내는 값 쌍을 가져옵니다.

(다음에서 상속됨 Module)
GetSignatureToken(Byte[], Int32)

지정된 문자 배열과 서명 길이가 있는 서명에 대한 토큰을 정의합니다.

GetSignatureToken(SignatureHelper)

지정된 서명에 정의된 서명에 대한 토큰을 정의합니다 SignatureHelper.

GetSignerCertificate()

X509Certificate 이 모듈이 속한 어셈블리의 Authenticode 서명에 포함된 인증서에 해당하는 개체를 반환합니다. 어셈블리가 Authenticode에 서명 null 되지 않은 경우 반환됩니다.

GetSignerCertificate()

X509Certificate 이 모듈이 속한 어셈블리의 Authenticode 서명에 포함된 인증서에 해당하는 개체를 반환합니다. 어셈블리가 Authenticode에 서명 null 되지 않은 경우 반환됩니다.

(다음에서 상속됨 Module)
GetStringConstant(String)

모듈의 상수 풀에서 지정된 문자열의 토큰을 반환합니다.

GetSymWriter()

이 동적 모듈과 연결된 기호 작성기를 반환합니다.

GetType()

현재 인스턴스의 Type 가져옵니다.

(다음에서 상속됨 Object)
GetType(String, Boolean, Boolean)

필요에 따라 형식 이름의 대/소문자를 무시하고 모듈에 정의된 명명된 형식을 가져옵니다. 필요에 따라 형식을 찾을 수 없는 경우 예외를 throw합니다.

GetType(String, Boolean, Boolean)

지정된 형식을 반환하여 모듈을 대/소문자를 구분하여 검색할지 여부와 형식을 찾을 수 없는 경우 예외를 throw할지 여부를 지정합니다.

(다음에서 상속됨 Module)
GetType(String, Boolean)

필요에 따라 형식 이름의 대/소문자를 무시하고 모듈에 정의된 명명된 형식을 가져옵니다.

GetType(String, Boolean)

지정된 대/소문자를 구분하여 모듈을 검색하여 지정된 형식을 반환합니다.

(다음에서 상속됨 Module)
GetType(String)

모듈에 정의된 명명된 형식을 가져옵니다.

GetType(String)

대/소문자를 구분하는 검색을 수행하여 지정된 형식을 반환합니다.

(다음에서 상속됨 Module)
GetTypes()

이 모듈 내에 정의된 모든 클래스를 반환합니다.

GetTypes()

이 모듈 내에 정의된 모든 형식을 반환합니다.

(다음에서 상속됨 Module)
GetTypeToken(String)

지정된 이름을 가진 형식을 식별하는 데 사용되는 토큰을 반환합니다.

GetTypeToken(Type)

이 모듈 내에서 지정된 형식을 식별하는 데 사용되는 토큰을 반환합니다.

IsDefined(Type, Boolean)

지정된 특성 형식이 이 모듈에 적용되었는지 여부를 나타내는 값을 반환합니다.

IsDefined(Type, Boolean)

지정된 특성 형식이 이 모듈에 적용되었는지 여부를 나타내는 값을 반환합니다.

(다음에서 상속됨 Module)
IsResource()

개체가 리소스인지 여부를 나타내는 값을 가져옵니다.

IsResource()

개체가 리소스인지 여부를 나타내는 값을 가져옵니다.

(다음에서 상속됨 Module)
IsTransient()

이 동적 모듈이 일시적인지 여부를 나타내는 값을 반환합니다.

MemberwiseClone()

현재 Object단순 복사본을 만듭니다.

(다음에서 상속됨 Object)
ResolveField(Int32, Type[], Type[])

지정된 제네릭 형식 매개 변수로 정의된 컨텍스트에서 지정된 메타데이터 토큰으로 식별되는 필드를 반환합니다.

ResolveField(Int32, Type[], Type[])

지정된 제네릭 형식 매개 변수로 정의된 컨텍스트에서 지정된 메타데이터 토큰으로 식별되는 필드를 반환합니다.

(다음에서 상속됨 Module)
ResolveField(Int32)

지정된 메타데이터 토큰으로 식별되는 필드를 반환합니다.

(다음에서 상속됨 Module)
ResolveMember(Int32, Type[], Type[])

지정된 제네릭 형식 매개 변수로 정의된 컨텍스트에서 지정된 메타데이터 토큰으로 식별되는 형식 또는 멤버를 반환합니다.

ResolveMember(Int32, Type[], Type[])

지정된 제네릭 형식 매개 변수로 정의된 컨텍스트에서 지정된 메타데이터 토큰으로 식별되는 형식 또는 멤버를 반환합니다.

(다음에서 상속됨 Module)
ResolveMember(Int32)

지정된 메타데이터 토큰으로 식별되는 형식 또는 멤버를 반환합니다.

(다음에서 상속됨 Module)
ResolveMethod(Int32, Type[], Type[])

지정된 제네릭 형식 매개 변수로 정의된 컨텍스트에서 지정된 메타데이터 토큰으로 식별되는 메서드 또는 생성자를 반환합니다.

ResolveMethod(Int32, Type[], Type[])

지정된 제네릭 형식 매개 변수로 정의된 컨텍스트에서 지정된 메타데이터 토큰으로 식별되는 메서드 또는 생성자를 반환합니다.

(다음에서 상속됨 Module)
ResolveMethod(Int32)

지정된 메타데이터 토큰으로 식별되는 메서드 또는 생성자를 반환합니다.

(다음에서 상속됨 Module)
ResolveSignature(Int32)

메타데이터 토큰으로 식별되는 서명 Blob을 반환합니다.

ResolveSignature(Int32)

메타데이터 토큰으로 식별되는 서명 Blob을 반환합니다.

(다음에서 상속됨 Module)
ResolveString(Int32)

지정된 메타데이터 토큰으로 식별되는 문자열을 반환합니다.

ResolveString(Int32)

지정된 메타데이터 토큰으로 식별되는 문자열을 반환합니다.

(다음에서 상속됨 Module)
ResolveType(Int32, Type[], Type[])

지정된 제네릭 형식 매개 변수로 정의된 컨텍스트에서 지정된 메타데이터 토큰으로 식별되는 형식을 반환합니다.

ResolveType(Int32, Type[], Type[])

지정된 제네릭 형식 매개 변수로 정의된 컨텍스트에서 지정된 메타데이터 토큰으로 식별되는 형식을 반환합니다.

(다음에서 상속됨 Module)
ResolveType(Int32)

지정된 메타데이터 토큰으로 식별되는 형식을 반환합니다.

(다음에서 상속됨 Module)
SetCustomAttribute(ConstructorInfo, Byte[])

특성을 나타내는 BLOB(이진 큰 개체)을 사용하여 이 모듈에 사용자 지정 특성을 적용합니다.

SetCustomAttribute(CustomAttributeBuilder)

사용자 지정 특성 작성기를 사용하여 이 모듈에 사용자 지정 특성을 적용합니다.

SetSymCustomAttribute(String, Byte[])

이 메서드는 아무 작업도 수행하지 않습니다.

SetUserEntryPoint(MethodInfo)

사용자 진입점을 설정합니다.

ToString()

모듈의 이름을 반환합니다.

(다음에서 상속됨 Module)

명시적 인터페이스 구현

Name Description
_Module.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr)

이름 집합을 해당 디스패치 식별자 집합에 매핑합니다.

(다음에서 상속됨 Module)
_Module.GetTypeInfo(UInt32, UInt32, IntPtr)

인터페이스의 형식 정보를 가져오는 데 사용할 수 있는 개체의 형식 정보를 검색합니다.

(다음에서 상속됨 Module)
_Module.GetTypeInfoCount(UInt32)

개체가 제공하는 형식 정보 인터페이스의 수를 검색합니다(0 또는 1).

(다음에서 상속됨 Module)
_Module.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr)

개체에 의해 노출되는 속성 및 메서드에 대한 액세스를 제공합니다.

(다음에서 상속됨 Module)
_ModuleBuilder.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr)

이 멤버에 대한 설명은 을 참조하세요 GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr).

_ModuleBuilder.GetTypeInfo(UInt32, UInt32, IntPtr)

이 멤버에 대한 설명은 을 참조하세요 GetTypeInfo(UInt32, UInt32, IntPtr).

_ModuleBuilder.GetTypeInfoCount(UInt32)

이 멤버에 대한 설명은 을 참조하세요 GetTypeInfoCount(UInt32).

_ModuleBuilder.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr)

이 멤버에 대한 설명은 을 참조하세요 Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr).

확장명 메서드

Name Description
GetCustomAttribute(Module, Type)

지정된 모듈에 적용되는 지정된 형식의 사용자 지정 특성을 검색합니다.

GetCustomAttribute<T>(Module)

지정된 모듈에 적용되는 지정된 형식의 사용자 지정 특성을 검색합니다.

GetCustomAttributes(Module, Type)

지정된 모듈에 적용되는 지정된 형식의 사용자 지정 특성 컬렉션을 검색합니다.

GetCustomAttributes(Module)

지정된 모듈에 적용되는 사용자 지정 특성의 컬렉션을 검색합니다.

GetCustomAttributes<T>(Module)

지정된 모듈에 적용되는 지정된 형식의 사용자 지정 특성 컬렉션을 검색합니다.

IsDefined(Module, Type)

지정된 형식의 사용자 지정 특성이 지정된 모듈에 적용되는지 여부를 나타냅니다.

적용 대상