編集

次の方法で共有


Guard.IsNotWhitespace(String, String) Method

Definition

Caution

Use IsNotWhiteSpace

Asserts that the input String instance must not be null or whitespace.

[System.Obsolete("Use IsNotWhiteSpace")]
public static void IsNotWhitespace (string text, string name);
[<System.Obsolete("Use IsNotWhiteSpace")>]
static member IsNotWhitespace : string * string -> unit
Public Shared Sub IsNotWhitespace (text As String, name As String)

Parameters

text
String

The input String instance to test.

name
String

The name of the input parameter being tested.

Attributes

Exceptions

Thrown if text is null or whitespace.

Applies to