BitmapImage.StreamSource 속성

정의

BitmapImage의 스트림 소스를 가져오거나 설정합니다.

public:
 property System::IO::Stream ^ StreamSource { System::IO::Stream ^ get(); void set(System::IO::Stream ^ value); };
public System.IO.Stream StreamSource { get; set; }
member this.StreamSource : System.IO.Stream with get, set
Public Property StreamSource As Stream

속성 값

Stream

BitmapImage의 스트림 소스입니다. 기본값은 null입니다.

설명

경우 StreamSource 하 고 UriSource 모두 설정 된 StreamSource 값은 무시 됩니다.

설정 된 CacheOption 속성을 BitmapCacheOption.OnLoad 후 스트림을 닫으려면 하려는 경우는 BitmapImage 만들어집니다. 기본 OnDemand 비트맵 필요 하지 않으며 정리 가비지 수집기에 의해 처리 될 때까지 캐시 옵션 스트림에 대 한 액세스를 유지 합니다.

종속성 속성 정보

식별자 필드 StreamSourceProperty
메타 데이터 속성 설정 true 없음

적용 대상

추가 정보