Sdílet prostřednictvím


CodeContract.RequiresArgumentNotEmpty(Guid, String) Metoda

Definice

Vyžaduje, aby identifikátor GUID nebyl prázdný.

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)

Parametry

guid
Guid

Identifikátor GUID k ověření

argumentName
String

Řetězcové vyjádření argumentu

Platí pro