Table of Contents

Method IsNull

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

IsNull<T>(T, string)

Ensures that the value of a parameter is null.

public static T IsNull<T>(T value, string paramName) where T : class

Parameters

value T

The value of the parameter.

paramName string

The name of the parameter.

Returns

T

The value of the parameter.

Type Parameters

T

Type type of the value.