MessagePackEnumMemberAttribute Class |
Marks that this enum typed member has special characteristics on MessagePack serialization.
Inheritance Hierarchy
Namespace: MsgPack.SerializationAssembly: MsgPack (in MsgPack.dll) Version: 0.6.0
Syntax [AttributeUsageAttribute(AttributeTargets.Property|AttributeTargets.Field, Inherited = true,
AllowMultiple = false)]
public sealed class MessagePackEnumMemberAttribute : Attribute
<AttributeUsageAttribute(AttributeTargets.Property Or AttributeTargets.Field, Inherited := true,
AllowMultiple := false)>
Public NotInheritable Class MessagePackEnumMemberAttribute
Inherits Attribute
[AttributeUsageAttribute(AttributeTargets::Property|AttributeTargets::Field, Inherited = true,
AllowMultiple = false)]
public ref class MessagePackEnumMemberAttribute sealed : public Attribute
[<SealedAttribute>]
[<AttributeUsageAttribute(AttributeTargets.Property|AttributeTargets.Field, Inherited = true,
AllowMultiple = false)>]
type MessagePackEnumMemberAttribute =
class
inherit Attribute
end
The MessagePackEnumMemberAttribute type exposes the following members.
Constructors Properties
| Name | Description |
---|
| SerializationMethod |
Gets or sets the default serialization method for this enum typed member.
|
TopRemarks
If this attributes is used for non-enum typed members, this attribute will be ignored.
See Also