Application.GetContentStream(Uri) 메서드

정의

지정된 Uri 있는 콘텐츠 데이터 파일에 대한 리소스 스트림을 반환합니다(WPF 애플리케이션 리소스, 콘텐츠 및 데이터 파일 참조).

public:
 static System::Windows::Resources::StreamResourceInfo ^ GetContentStream(Uri ^ uriContent);
[System.Security.SecurityCritical]
public static System.Windows.Resources.StreamResourceInfo GetContentStream(Uri uriContent);
public static System.Windows.Resources.StreamResourceInfo GetContentStream(Uri uriContent);
[<System.Security.SecurityCritical>]
static member GetContentStream : Uri -> System.Windows.Resources.StreamResourceInfo
static member GetContentStream : Uri -> System.Windows.Resources.StreamResourceInfo
Public Shared Function GetContentStream (uriContent As Uri) As StreamResourceInfo

매개 변수

uriContent
Uri

느슨한 리소스에 매핑되는 상대 Uri 입니다.

반품

StreamResourceInfo 지정된 Uri위치에 있는 콘텐츠 데이터 파일이 들어 있는 A입니다. 느슨한 리소스를 찾을 수 없으면 null이 반환됩니다.

특성

예외

Uri 전달되는 GetContentStream(Uri) 값은 null입니다.

Uri 전달되는 GetContentStream(Uri) 값은 절대Uri입니다.

설명

이 메서드는 스레드로부터 안전하지 않습니다.

적용 대상

추가 정보