CodeContract.RequiresArgumentNotEmpty(Guid, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Requires that Guid is not empty
public:
[System::Runtime::CompilerServices::Extension]
static void RequiresArgumentNotEmpty(Guid guid, System::String ^ argumentName);
public static void RequiresArgumentNotEmpty (this Guid guid, string argumentName);
static member RequiresArgumentNotEmpty : Guid * string -> unit
<Extension()>
Public Sub RequiresArgumentNotEmpty (guid As Guid, argumentName As String)
Parameters
- guid
- Guid
Guid to validate
- argumentName
- String
string representation of the argument