ShouldSerializeResult Enumeration

.NET Framework 4.6 and 4.5

Defines serialization behavior as reported by a XamlMemberInvoker.

Namespace:  System.Xaml.Schema
Assembly:  System.Xaml (in System.Xaml.dll)

public enum ShouldSerializeResult

Member nameDescription
DefaultUnknown, defer to the type of the member.
FalseDo not serialize the result.
TrueSerialize the result.

This is for specialized serialization support by invokers. More general serialization support should not require this enumeration. ShouldSerialize information is otherwise available to XAML writers as part of the default XAML schema context and CLR reflection.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft