Application.GetContentStream(Uri) メソッド   
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
指定した Uri にあるコンテンツ データ ファイル (「WPF Application Resource, Content, and Data Files (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
	パラメーター
戻り値
指定した StreamResourceInfo にあるコンテンツ データ ファイルを格納している Uri。 Loose リソースが見つからない場合は null が返されます。
- 属性
 
例外
Uri に渡される GetContentStream(Uri) は null です。
Uri に渡される GetContentStream(Uri) は、絶対 Uri です。
注釈
このメソッドはスレッド セーフではありません。