Edit

Bagikan melalui


ShouldSerializeResult Enum

Definition

Defines serialization behavior as reported by a XamlMemberInvoker.

public enum class ShouldSerializeResult
public enum ShouldSerializeResult
type ShouldSerializeResult = 
Public Enum ShouldSerializeResult
Inheritance
ShouldSerializeResult

Fields

Name Value Description
Default 0

Unknown, defer to the type of the member.

True 1

Serialize the result.

False 2

Do not serialize the result.

Remarks

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.

Applies to

See also