ImageStream 클래스

정의

이미징 네임스페이스에 사용되는 IRandomAccessStreamWithContent 형식의 구현입니다.

public ref class ImageStream sealed : IClosable, IRandomAccessStreamWithContentType
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class ImageStream final : IClosable, IRandomAccessStreamWithContentType
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class ImageStream : System.IDisposable, IRandomAccessStreamWithContentType
Public NotInheritable Class ImageStream
Implements IDisposable, IRandomAccessStreamWithContentType
상속
Object Platform::Object IInspectable ImageStream
특성
구현

Windows 요구 사항

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

속성

CanRead

스트림을 읽을 수 있는지를 나타냅니다.

CanWrite

스트림에 쓸 수 있는지를 나타냅니다.

ContentType

스트림의 데이터 형식을 반환합니다.

Position

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

Size

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

메서드

CloneStream()

ImageStream에 대한 파일 스트림을 반환합니다.

Close()

ImageStream을 닫습니다.

Dispose()

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

FlushAsync()

현재 프레임 데이터를 비동기적으로 커밋하고 이미지 스트림의 모든 데이터를 플러시합니다.

GetInputStreamAt(UInt64)

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

GetOutputStreamAt(UInt64)

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

ReadAsync(IBuffer, UInt32, InputStreamOptions)

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

Seek(UInt64)

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

WriteAsync(IBuffer)

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

적용 대상