CodeContract.RequiresArgumentNotNullAndNotWhiteSpace(String, String) 方法         
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
要求参数不为 null 且不为空格
public:
[System::Runtime::CompilerServices::Extension]
 static void RequiresArgumentNotNullAndNotWhiteSpace(System::String ^ value, System::String ^ argumentName);
	public static void RequiresArgumentNotNullAndNotWhiteSpace(this string value, string argumentName);
	static member RequiresArgumentNotNullAndNotWhiteSpace : string * string -> unit
	<Extension()>
Public Sub RequiresArgumentNotNullAndNotWhiteSpace (value As String, argumentName As String)
	参数
- value
 - String
 
value
- argumentName
 - String
 
参数的字符串表示形式