次の方法で共有


Report.If(Boolean, String) Method

Definition

Reports an error if a condition evaluates to true.

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

Parameters

condition
Boolean
message
String
Attributes

Applies to