共用方式為


IXamlUIPresenterHost.ResolveFileResource(String) 方法

定義

解析路徑所指定的資源,並傳回字串檔案名。

public:
 Platform::String ^ ResolveFileResource(Platform::String ^ path);
winrt::hstring ResolveFileResource(winrt::hstring const& path);
public string ResolveFileResource(string path);
function resolveFileResource(path)
Public Function ResolveFileResource (path As String) As String

參數

path
String

Platform::String

winrt::hstring

要解析的本機路徑。

傳回

String

Platform::String

winrt::hstring

已解析的檔案名。

適用於