Search Results for

    Show / Hide Table of Contents

    Class IncludeNullAttribute

    Specifies that if the value of the field or property is null, it should be included in the serialized data.

    This alters the default behaviour of ignoring nulls.

    Inheritance
    System.Object
    System.Attribute
    SerializationAttribute
    IncludeNullAttribute
    Namespace: DisCatSharp.Common.Serialization
    Assembly: DisCatSharp.Common.dll
    Syntax
    [Obsolete("Use [DataMember] with EmitDefaultValue = true.")]
    [AttributeUsage(AttributeTargets.Property | AttributeTargets.Field)]
    public sealed class IncludeNullAttribute : SerializationAttribute

    Extension Methods

    ReflectionUtilities.ToDictionary<T>(T)
    • Improve this Doc
    • View Source
    In This Article
    Back to top © 2021-2022 Aiko IT Systems