BsonDocumentGetElement Method (String) |
Gets an element of this document.
Namespace: MongoDB.BsonAssembly: MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.1.0
Syntax public virtual BsonElement GetElement(
string name
)
Public Overridable Function GetElement (
name As String
) As BsonElement
abstract GetElement :
name : string -> BsonElement
override GetElement :
name : string -> BsonElement
Parameters
- name
- Type: SystemString
The name of the element.
Return Value
Type:
BsonElementA BsonElement.
See Also