BsonReader.GetCurrentBsonType Method (original) (raw)

BsonReaderGetCurrentBsonType Method

Gets the current BsonType (calls ReadBsonType if necessary).

Namespace: MongoDB.Bson.IO
Assembly: MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.10.0+569905ff5e778c38ea19d9d0392496a83e1704ed

Syntax

public BsonType GetCurrentBsonType()

Public Function GetCurrentBsonType As BsonType

abstract GetCurrentBsonType : unit -> BsonType override GetCurrentBsonType : unit -> BsonType

Return Value

Type: BsonType
The current BsonType.

Implements

IBsonReaderGetCurrentBsonType

See Also

Reference