StringValues.IsNullOrEmpty(StringValues) Method

Definition

Indicates whether the specified StringValues contains no string values.

public static bool IsNullOrEmpty(Microsoft.Extensions.Primitives.StringValues value);

Parameters

value
StringValues

The StringValues to test.

Returns

true if value contains a single null or empty string or an empty array; otherwise, false.

Applies to

Ürün Sürümler
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Standard 2.0 (package-provided)