IXRStyle::Seal (Windows Embedded CE 6.0)

1/6/2010

This method locks this style so that you cannot change its target type nor its value-setting objects in its IXRSetterBaseCollection object.

Syntax

virtual HRESULT STDMETHODCALLTYPE Seal() = 0;

Parameters

None.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

If you try to change the target type by calling IXRStyle::SetTargetType or change a value-setting object in the collection retrieved by IXRStyle::GetSetters, an exception is thrown.

.NET Framework Equivalent

System.Windows.Style.Seal

Requirements

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

See Also

Reference

IXRStyle
IXRStyle::GetIsSealed