TupleSerializerTryParseItemName Method |
Tries to parse an item name to an item number.
Namespace:
MongoDB.Bson.Serialization.Serializers
Assembly:
MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.21.0+5a9c3311e158910b88195f290e6d4b1b2715d2b2
Syntax public static bool TryParseItemName(
string itemName,
out int itemNumber
)
Public Shared Function TryParseItemName (
itemName As String,
<OutAttribute> ByRef itemNumber As Integer
) As Boolean
static member TryParseItemName :
itemName : string *
itemNumber : int byref -> bool
Parameters
- itemName
- Type: SystemString
The item name. - itemNumber
- Type: SystemInt32
The item number.
Return Value
Type:
BooleanTrue if the item name was valid.
See Also