Table of Contents

Class SerializerHelper.Member

Namespace
MongoDB.Bson.Serialization.Serializers
Assembly
MongoDB.Bson.dll

Represents information about a member.

public class SerializerHelper.Member
Inheritance
SerializerHelper.Member
Inherited Members
Extension Methods

Constructors

Member(string, long, bool)

Initializes a new instance of the SerializerHelper.Member class.

public Member(string elementName, long flag, bool isOptional = false)

Parameters

elementName string

The name of the element.

flag long

The flag.

isOptional bool

Whether the member is optional.

Properties

ElementName

Gets the name of the element.

public string ElementName { get; }

Property Value

string

The name of the element.

Flag

Gets the flag.

public long Flag { get; }

Property Value

long

The flag.

IsOptional

Gets a value indicating whether this member is optional.

public bool IsOptional { get; }

Property Value

bool

Whether this member is optional.