Class BsonMemberMapAttributeUsageAttribute

| MongoDB CSharp Driver API Reference (original) (raw)

Namespace

MongoDB.Bson.Serialization

Assembly

MongoDB.Bson.dll

Indicates the usage restrictions for the attribute.

[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
public class BsonMemberMapAttributeUsageAttribute : Attribute

Inheritance

BsonMemberMapAttributeUsageAttribute

Inherited Members

Extension Methods

Constructors

BsonMemberMapAttributeUsageAttribute()

Initializes a new instance of the BsonMemberMapAttributeUsageAttribute class.

Properties

AllowMultipleMembers

Gets or sets a value indicating whether the attribute this attribute applies to is allowed to be applied to more than one member.