Table of Contents

Method IsNullOrGreaterThanOrEqualToZero

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

IsNullOrGreaterThanOrEqualToZero(int?, string)

Ensures that the value of a parameter is null or greater than or equal to zero.

public static int? IsNullOrGreaterThanOrEqualToZero(int? value, string paramName)

Parameters

value int?

The value of the parameter.

paramName string

The name of the parameter.

Returns

int?

The value of the parameter.

IsNullOrGreaterThanOrEqualToZero(long?, string)

Ensures that the value of a parameter is null or greater than or equal to zero.

public static long? IsNullOrGreaterThanOrEqualToZero(long? value, string paramName)

Parameters

value long?

The value of the parameter.

paramName string

The name of the parameter.

Returns

long?

The value of the parameter.