Compartir a través de


Debug.Assert Método

Definición

Sobrecargas

Assert(Boolean)
Assert(Boolean, String, Object[])

Assert(Boolean)

public:
 static void Assert(bool cond);
[System.Diagnostics.Conditional("DEBUG")]
public static void Assert (bool cond);
static member Assert : bool -> unit
Public Shared Sub Assert (cond As Boolean)

Parámetros

cond
Boolean
Atributos

Se aplica a

Assert(Boolean, String, Object[])

public:
 static void Assert(bool cond, System::String ^ format, ... cli::array <System::Object ^> ^ args);
[System.Diagnostics.Conditional("DEBUG")]
public static void Assert (bool cond, string format, params object[] args);
static member Assert : bool * string * obj[] -> unit
Public Shared Sub Assert (cond As Boolean, format As String, ParamArray args As Object())

Parámetros

cond
Boolean
format
String
args
Object[]
Atributos

Se aplica a