Method IsNullOrNotEmpty
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
Assembly
MongoDB.Driver.dll
IsNullOrNotEmpty(string, string)
Ensures that the value of a parameter is null or not empty.
public static string IsNullOrNotEmpty(string value, string paramName)
Parameters
value
string
The value of the parameter.
paramName
string
The name of the parameter.
Returns
The value of the parameter.