XRCustomUserControlImpl::Register(const WCHAR*,const WCHAR*) (Windows Embedded CE 6.0)
1/6/2010
This method registers a custom user control with Silverlight for Windows Embedded. Use this version of the method when the custom user control does not have to be created in C++ and is only created in XAML.
Syntax
static HRESULT Register(
const WCHAR* pControlName,
const WCHAR* pNamespace)
{
return Register(
__uuidof(IXRCustomUserControl),
pControlName,
pNamespace);
}
Parameters
- pControlName
[in] The XAML name of the control.
pNamespace
[in] The namespace of the control. For example,clrnamespace::EmbeddedXamlRuntime
.You must give the namespace the prefix
clrnamespace
for it to be compatible with Silverlight.
Return Value
Returns an HRESULT that indicates success or failure.
Remarks
This method provides a standard method for registering custom controls with Silverlight.
.NET Framework Equivalent
None.
See Also
Reference
XRCustomUserControlImpl::Register