IXRBitmapImage::SetUriSource (Compact 2013)

3/28/2014

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

See Also

Reference

IXRBitmapImage
IXRBitmapImage::GetUriSource