StringExtensions.IsNullOrWhiteSpace(String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
檢查字串是否為 Null 或只包含空格符
public:
[System::Runtime::CompilerServices::Extension]
static bool IsNullOrWhiteSpace(System::String ^ value);
public static bool IsNullOrWhiteSpace (this string value);
static member IsNullOrWhiteSpace : string -> bool
<Extension()>
Public Function IsNullOrWhiteSpace (value As String) As Boolean
參數
- value
- String
要驗證的字串
傳回
作業的結果