BsonSymbol Conversion (String to BsonSymbol) |
Converts a string to a BsonSymbol.
Namespace:
MongoDB.Bson
Assembly:
MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.14.0+2b37a1fe1cbdbe1a020b52b77f1197b6d77575e7
Syntax public static implicit operator BsonSymbol (
string name
)
Public Shared Widening Operator CType (
name As String
) As BsonSymbol
F# does not support the declaration of new casting operators.
Parameters
- name
- Type: SystemString
A string.
Return Value
Type:
BsonSymbolA BsonSymbol.
See Also