Click or drag to resize

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.20.0+ee01960089f28ea1b501690df5fc9f6318a70242
Syntax
public static bool TryParseItemName(
	string itemName,
	out int itemNumber
)

Parameters

itemName
Type: SystemString
The item name.
itemNumber
Type: SystemInt32
The item number.

Return Value

Type: Boolean
True if the item name was valid.
See Also