Compartir a través de


Report.IfNot Método

Definición

Sobrecargas

IfNot(Boolean, ValidationInterpolatedStringHandler)

Notifica un error si una condición no se evalúa como true.

IfNot(Boolean, String)

Notifica un error si una condición no se evalúa como true.

IfNot(Boolean, String, Object)

Notifica un error si una condición no se evalúa como true.

IfNot(Boolean, String, Object[])

Notifica un error si una condición no se evalúa como true.

IfNot(Boolean, String, Object, Object)

Notifica un error si una condición no se evalúa como true.

IfNot(Boolean, ValidationInterpolatedStringHandler)

Notifica un error si una condición no se evalúa como true.

[System.Diagnostics.Conditional("DEBUG")]
public static void IfNot (bool condition, ref Microsoft.ValidationInterpolatedStringHandler message);
[<System.Diagnostics.Conditional("DEBUG")>]
static member IfNot : bool * ValidationInterpolatedStringHandler -> unit
Public Shared Sub IfNot (condition As Boolean, ByRef message As ValidationInterpolatedStringHandler)

Parámetros

condition
Boolean
message
Microsoft.ValidationInterpolatedStringHandler
Atributos

Se aplica a

IfNot(Boolean, String)

Notifica un error si una condición no se evalúa como true.

[System.Diagnostics.Conditional("DEBUG")]
public static void IfNot (bool condition, string? message = default);
[<System.Diagnostics.Conditional("DEBUG")>]
static member IfNot : bool * string -> unit
Public Shared Sub IfNot (condition As Boolean, Optional message As String = Nothing)

Parámetros

condition
Boolean
message
String
Atributos

Se aplica a

IfNot(Boolean, String, Object)

Notifica un error si una condición no se evalúa como true.

public:
 static void IfNot(bool condition, System::String ^ message, System::Object ^ arg1);
[System.Diagnostics.Conditional("DEBUG")]
public static void IfNot (bool condition, string message, object? arg1);
[<System.Diagnostics.Conditional("DEBUG")>]
static member IfNot : bool * string * obj -> unit
Public Shared Sub IfNot (condition As Boolean, message As String, arg1 As Object)

Parámetros

condition
Boolean
message
String
arg1
Object
Atributos

Se aplica a

IfNot(Boolean, String, Object[])

Notifica un error si una condición no se evalúa como true.

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

Parámetros

condition
Boolean
message
String
args
Object[]
Atributos

Se aplica a

IfNot(Boolean, String, Object, Object)

Notifica un error si una condición no se evalúa como true.

public:
 static void IfNot(bool condition, System::String ^ message, System::Object ^ arg1, System::Object ^ arg2);
[System.Diagnostics.Conditional("DEBUG")]
public static void IfNot (bool condition, string message, object? arg1, object? arg2);
[<System.Diagnostics.Conditional("DEBUG")>]
static member IfNot : bool * string * obj * obj -> unit
Public Shared Sub IfNot (condition As Boolean, message As String, arg1 As Object, arg2 As Object)

Parámetros

condition
Boolean
message
String
arg1
Object
arg2
Object
Atributos

Se aplica a