次の方法で共有


IXRBitmapImage::SetUriSource (Windows Embedded CE 6.0)

1/6/2010

This method sets the universal resource identifier (URI) of the graphics source file that contains the image that will be represented by this IXRBitmapImage object.

Syntax

virtual HRESULT STDMETHODCALLTYPE SetUriSource(
    const WCHAR* pUriSource
) = 0; 

Parameters

  • UriSource
    [in] Pointer to a string that contains the URI.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

Considerations for setting the URI are identical in XAML or C++ code. Relative references are permitted. The starting location for the relative reference is the folder that contains the source-code file.

Requirements

Header XamlRuntime.h
sysgen SYSGEN_XAML_RUNTIME
Windows Embedded CE Windows Embedded CE 6.0 R3

See Also

Reference

IXRBitmapImage
IXRBitmapImage::GetUriSource