IRandomAccessStreamWithContentType 인터페이스

정의

지정된 데이터 형식에 대한 입력 및 출력 스트림의 데이터에 대한 임의 액세스를 지원합니다.

public interface class IRandomAccessStreamWithContentType : IClosable, IContentTypeProvider, IRandomAccessStream
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(3424995367, 19261, 17295, 146, 50, 16, 199, 107, 199, 224, 56)]
struct IRandomAccessStreamWithContentType : IClosable, IContentTypeProvider, IRandomAccessStream
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(3424995367, 19261, 17295, 146, 50, 16, 199, 107, 199, 224, 56)]
public interface IRandomAccessStreamWithContentType : System.IDisposable, IContentTypeProvider, IRandomAccessStream
Public Interface IRandomAccessStreamWithContentType
Implements IContentTypeProvider, IDisposable, IRandomAccessStream
파생
특성
구현

Windows 요구 사항

디바이스 패밀리
Windows 10 (10.0.10240.0에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v1.0에서 도입되었습니다.)

속성

CanRead

스트림을 읽을 수 있는지 여부를 나타내는 값을 가져옵니다.

(다음에서 상속됨 IRandomAccessStream)
CanWrite

스트림을 쓸 수 있는지 여부를 나타내는 값을 가져옵니다.

(다음에서 상속됨 IRandomAccessStream)
ContentType

데이터의 형식을 가져옵니다.

(다음에서 상속됨 IContentTypeProvider)
Position

스트림의 바이트 오프셋을 가져옵니다.

(다음에서 상속됨 IRandomAccessStream)
Size

임의 액세스 스트림의 크기를 가져오거나 설정합니다.

(다음에서 상속됨 IRandomAccessStream)

메서드

CloneStream()

현재 스트림과 동일한 리소스에 대해 IRandomAccessStream의 새 instance 만듭니다.

(다음에서 상속됨 IRandomAccessStream)
Dispose()

관리되지 않는 리소스의 확보, 해제 또는 다시 설정과 관련된 애플리케이션 정의 작업을 수행합니다.

FlushAsync()

순차 스트림에서 데이터를 비동기적으로 플러시합니다.

(다음에서 상속됨 IOutputStream)
GetInputStreamAt(UInt64)

스트림의 지정된 위치에 있는 입력 스트림을 반환합니다.

(다음에서 상속됨 IRandomAccessStream)
GetOutputStreamAt(UInt64)

스트림의 지정된 위치에서 출력 스트림을 반환합니다.

(다음에서 상속됨 IRandomAccessStream)
ReadAsync(IBuffer, UInt32, InputStreamOptions)

스트림에서 데이터를 비동기적으로 읽습니다.

(다음에서 상속됨 IInputStream)
Seek(UInt64)

스트림의 위치를 지정된 값으로 설정합니다.

(다음에서 상속됨 IRandomAccessStream)
WriteAsync(IBuffer)

순차 스트림에 데이터를 비동기적으로 씁니다.

(다음에서 상속됨 IOutputStream)

적용 대상

추가 정보