Table of Contents

Class BinaryOrderAttribute

Namespace
Yarhl.IO.Serialization.Attributes
Assembly
Yarhl.dll

Specify the order to serialize or deserialize the fields in binary format.

[AttributeUsage(AttributeTargets.Property)]
public class BinaryOrderAttribute : Attribute
Inheritance
BinaryOrderAttribute
Inherited Members

Constructors

BinaryOrderAttribute(int)

Initializes a new instance of the BinaryOrderAttribute class.

public BinaryOrderAttribute(int order)

Parameters

order int

The order of the field in the binary serialization.

Properties

Order

Gets or sets the order of the field in the binary format.

public int Order { get; set; }

Property Value

int