PreserializedResourceWriter 클래스
정의
미리 직렬화된 리소스 데이터를 쓸 수 있는 ResourceWriter와 유사한 API를 제공합니다.Provides APIs similar to ResourceWriter that can write pre-serialized resource data.
public ref class PreserializedResourceWriter sealed : IDisposable, System::Resources::IResourceWriter
public sealed class PreserializedResourceWriter : IDisposable, System.Resources.IResourceWriter
type PreserializedResourceWriter = class
interface IDisposable
interface IResourceWriter
Public NotInheritable Class PreserializedResourceWriter
Implements IDisposable, IResourceWriter
- 상속
-
PreserializedResourceWriter
- 구현
생성자
PreserializedResourceWriter(Stream) |
제공된 스트림에 리소스를 쓰는 PreserializedResourceWriter 클래스의 새 인스턴스를 초기화합니다.Initializes a new instance of the PreserializedResourceWriter class that writes the resources to the provided stream. |
PreserializedResourceWriter(String) |
지정된 파일에 리소스를 쓰는 PreserializedResourceWriter 클래스의 새 인스턴스를 초기화합니다.Initializes a new instance of the PreserializedResourceWriter class that writes the resources to the specified file. |
메서드
AddActivatorResource(String, Stream, String, Boolean) |
리소스를 읽을 때 유형 생성자에 전달되는 Stream 값으로 표시되는 지정된 유형의 리소스를 추가합니다.Adds a resource of the specified type represented by a Stream value that is passed to the type's constructor when reading the resource. |
AddBinaryFormattedResource(String, Byte[], String) |
리소스를 읽을 때 BinaryFormatter 전달될 지정된 유형의 리소스(바이트 배열로 표시됨)를 추가합니다.Adds a resource of the specified type, represented by a byte array, that will be passed to BinaryFormatter when reading the resource. |
AddResource(String, Byte[]) |
파일에 쓸 리소스 목록에 바이트 배열을 명명된 리소스로 추가합니다.Adds a byte array as a named resource to the list of resources to be written to a file. |
AddResource(String, Object) |
파일에 쓸 리소스 목록에 개체를 명명된 리소스로 추가합니다.Adds an object as a named resource to the list of resources to be written to a file. |
AddResource(String, Stream, Boolean) |
파일에 쓸 리소스 목록에 Stream을 명명된 리소스로 추가합니다.Adds a Stream as a named resource to the list of resources to be written to a file. |
AddResource(String, String) |
파일에 쓸 리소스 목록에 문자열을 명명된 리소스로 추가합니다.Adds a string as a named resource to the list of resources to be written to a file. |
AddResource(String, String, String) |
문자열 값으로 표시되는 지정된 유형의 리소스를 추가합니다.Adds a resource of the specified type represented by a string value. |
AddTypeConverterResource(String, Byte[], String) |
리소스를 읽을 때 유형의 TypeConverter에 전달될 바이트 배열로 표시되는 지정된 유형의 리소스를 추가합니다.Adds a resource of the specified type represented by a byte array that is passed to the type's TypeConverter when reading the resource. |
Close() |
Dispose()를 호출하여 리소스 작성기를 삭제합니다.Calls Dispose() to dispose the resource writer. |
Dispose() |
Generate()를 호출하여 모든 리소스를 시스템 기본 형식으로 출력 스트림에 씁니다.Calls Generate() to write out all resources to the output stream in the system default format. |
Equals(Object) |
지정한 개체와 현재 개체가 같은지 여부를 확인합니다.Determines whether the specified object is equal to the current object. (다음에서 상속됨 Object) |
Generate() |
모든 리소스를 출력 스트림에 씁니다.Writes all resources to the output stream. |
GetHashCode() |
기본 해시 함수로 작동합니다.Serves as the default hash function. (다음에서 상속됨 Object) |
GetType() |
현재 인스턴스의 Type을 가져옵니다.Gets the Type of the current instance. (다음에서 상속됨 Object) |
MemberwiseClone() |
현재 Object의 단순 복사본을 만듭니다.Creates a shallow copy of the current Object. (다음에서 상속됨 Object) |
ToString() |
현재 개체를 나타내는 문자열을 반환합니다.Returns a string that represents the current object. (다음에서 상속됨 Object) |