C# 클래스 MongoDB.Driver.IndexOptionsDocument

Represents a BSON document that can be used where an IMongoIndexOptions is expected.
상속: BsonDocument, IMongoIndexOptions
파일 보기 프로젝트 열기: Qiredev/mongo-csharp-driver 1 사용 예제들

공개 메소드들

메소드 설명
IndexOptionsDocument ( ) : System

Initializes a new instance of the IndexOptionsDocument class.

IndexOptionsDocument ( BsonElement element ) : System

Initializes a new instance of the IndexOptionsDocument class and adds one element.

IndexOptionsDocument ( IDictionary dictionary ) : System

Initializes a new instance of the IndexOptionsDocument class and adds new elements from a dictionary of key/value pairs.

IndexOptionsDocument ( IDictionary dictionary, IEnumerable keys ) : System

Initializes a new instance of the IndexOptionsDocument class and adds new elements from a dictionary of key/value pairs.

IndexOptionsDocument ( IEnumerable elements ) : System

Initializes a new instance of the IndexOptionsDocument class and adds new elements from a list of elements.

IndexOptionsDocument ( bool allowDuplicateNames ) : System

Initializes a new instance of the IndexOptionsDocument class specifying whether duplicate element names are allowed (allowing duplicate element names is not recommended).

IndexOptionsDocument ( string name, BsonValue value ) : System

Initializes a new instance of the IndexOptionsDocument class and creates and adds a new element.

메소드 상세

IndexOptionsDocument() 공개 메소드

Initializes a new instance of the IndexOptionsDocument class.
public IndexOptionsDocument ( ) : System
리턴 System

IndexOptionsDocument() 공개 메소드

Initializes a new instance of the IndexOptionsDocument class and adds one element.
public IndexOptionsDocument ( BsonElement element ) : System
element BsonElement An element to add to the document.
리턴 System

IndexOptionsDocument() 공개 메소드

Initializes a new instance of the IndexOptionsDocument class and adds new elements from a dictionary of key/value pairs.
public IndexOptionsDocument ( IDictionary dictionary ) : System
dictionary IDictionary A dictionary to initialize the document from.
리턴 System

IndexOptionsDocument() 공개 메소드

Initializes a new instance of the IndexOptionsDocument class and adds new elements from a dictionary of key/value pairs.
public IndexOptionsDocument ( IDictionary dictionary, IEnumerable keys ) : System
dictionary IDictionary A dictionary to initialize the document from.
keys IEnumerable A list of keys to select values from the dictionary.
리턴 System

IndexOptionsDocument() 공개 메소드

Initializes a new instance of the IndexOptionsDocument class and adds new elements from a list of elements.
public IndexOptionsDocument ( IEnumerable elements ) : System
elements IEnumerable A list of elements to add to the document.
리턴 System

IndexOptionsDocument() 공개 메소드

Initializes a new instance of the IndexOptionsDocument class specifying whether duplicate element names are allowed (allowing duplicate element names is not recommended).
public IndexOptionsDocument ( bool allowDuplicateNames ) : System
allowDuplicateNames bool Whether duplicate element names are allowed.
리턴 System

IndexOptionsDocument() 공개 메소드

Initializes a new instance of the IndexOptionsDocument class and creates and adds a new element.
public IndexOptionsDocument ( string name, BsonValue value ) : System
name string The name of the element to add to the document.
value BsonValue The value of the element to add to the document.
리턴 System