Table of Contents

Class BinaryVectorAttribute

Namespace
MongoDB.Bson
Assembly
MongoDB.Bson.dll

Sets the representation for this field or property as a binary vector with the specified data type.

[AttributeUsage(AttributeTargets.Property|AttributeTargets.Field)]
public sealed class BinaryVectorAttribute : Attribute, IBsonMemberMapAttribute
Inheritance
BinaryVectorAttribute
Implements
Inherited Members
Extension Methods

Constructors

BinaryVectorAttribute(BinaryVectorDataType)

Initializes a new instance of the BinaryVectorAttribute class.

Properties

DataType

Gets the vector data type.

Methods

Apply(BsonMemberMap)

Applies the attribute to the member map.