SerializationCompatibilityOptionsOneBoundDataMemberOrder Property |
Gets or sets a value indicating whether System.Runtime.Serialization.DataMemberAttribute.Order should be started with 1 instead of 0.
Namespace: MsgPack.SerializationAssembly: MsgPack (in MsgPack.dll) Version: 0.6.0
Syntax public bool OneBoundDataMemberOrder { get; set; }
Public Property OneBoundDataMemberOrder As Boolean
Get
Set
public:
property bool OneBoundDataMemberOrder {
bool get ();
void set (bool value);
}
member OneBoundDataMemberOrder : bool with get, set
Property Value
Type:
Booleantrue if
System.Runtime.Serialization.DataMemberAttribute.Order should be started with 1 instead of 0; otherwise,
false.
Default is
false.
Remarks
Using this value, you can switch between MessagePack for CLI and ProtoBuf.NET seamlessly.
See Also