次の方法で共有


CodeContract.RequiresArgumentNotEmptyOrWhitespace(String, String) メソッド

定義

文字列が空ではないか、空白だけを含んでいる必要があります

public:
[System::Runtime::CompilerServices::Extension]
 static void RequiresArgumentNotEmptyOrWhitespace(System::String ^ value, System::String ^ argumentName);
public static void RequiresArgumentNotEmptyOrWhitespace (this string value, string argumentName);
static member RequiresArgumentNotEmptyOrWhitespace : string * string -> unit
<Extension()>
Public Sub RequiresArgumentNotEmptyOrWhitespace (value As String, argumentName As String)

パラメーター

value
String

value

argumentName
String

引数の文字列表現

適用対象