Table of Contents

Method IsValid

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.Core.dll

IsValid(string)

Determines whether the specified collection name is valid.

public static bool IsValid(string collectionName)

Parameters

collectionName string

The name of the collection.

Returns

bool

Whether the specified collection name is valid.