Share via


MetadataBuilder.AddManifestResource 메서드

정의

매니페스트 리소스를 추가합니다.

public:
 System::Reflection::Metadata::ManifestResourceHandle AddManifestResource(System::Reflection::ManifestResourceAttributes attributes, System::Reflection::Metadata::StringHandle name, System::Reflection::Metadata::EntityHandle implementation, System::UInt32 offset);
public System.Reflection.Metadata.ManifestResourceHandle AddManifestResource (System.Reflection.ManifestResourceAttributes attributes, System.Reflection.Metadata.StringHandle name, System.Reflection.Metadata.EntityHandle implementation, uint offset);
member this.AddManifestResource : System.Reflection.ManifestResourceAttributes * System.Reflection.Metadata.StringHandle * System.Reflection.Metadata.EntityHandle * uint32 -> System.Reflection.Metadata.ManifestResourceHandle
Public Function AddManifestResource (attributes As ManifestResourceAttributes, name As StringHandle, implementation As EntityHandle, offset As UInteger) As ManifestResourceHandle

매개 변수

attributes
ManifestResourceAttributes

매니페스트 리소스 특성입니다.

name
StringHandle

매니페스트 리소스의 이름입니다.

implementation
EntityHandle

구현 엔터티 핸들이며 AssemblyFileHandle, AssemblyReferenceHandle 또는 null 중 하나일 수 있습니다.

offset
UInt32

이 리소스 레코드가 시작되는 참조된 파일 내의 바이트 오프셋을 지정합니다.

반환

추가된 매니페스트 리소스에 대한 핸들입니다.

예외

implementation에 필요한 핸들 종류가 없습니다.

적용 대상