Share via


IXRContentPresenter::SetContent (Windows Embedded CE 6.0)

1/6/2010

This method sets the object that represents the content to display inside this content presenter.

Syntax

virtual HRESULT STDMETHODCALLTYPE SetContent(
    XRValue * pContent
) = 0;

Parameters

  • pContent
    Pointer to an XRValue object that represents the content to display inside this content presenter.

Return Value

Returns an HRESULT that indicates success or failure.

.NET Framework Equivalent

System.Windows.Controls.ContentPresenter.Content

Requirements

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

See Also

Reference

IXRContentPresenter
IXRContentPresenter::GetContent