Table of Contents

Method TryParseItemName

Namespace
MongoDB.Bson.Serialization.Serializers
Assembly
MongoDB.Bson.dll

TryParseItemName(string, out int)

Tries to parse an item name to an item number.

public static bool TryParseItemName(string itemName, out int itemNumber)

Parameters

itemName string

The item name.

itemNumber int

The item number.

Returns

bool

True if the item name was valid.