Skip to content

M_Cyjb_CommonExceptions_ArgumentOutOfRange_1

CYJB edited this page Mar 20, 2024 · 13 revisions

CommonExceptions.ArgumentOutOfRange 方法 (Object, String)

返回参数超出范围的异常。

Namespace: Cyjb
Assembly: Cyjb (in Cyjb.dll) Version: 1.0.23+7750dd8e971297c5fa962a3bee37fb78f72793f6

语法

C#

public static ArgumentOutOfRangeException ArgumentOutOfRange(
	Object actualValue,
	string? paramName = null
)

参数

 

actualValue
Type: System.Object
导致此异常的参数值。
paramName (Optional)
Type: System.String
超出范围的参数名称。

返回值

Type: ArgumentOutOfRangeException
ArgumentOutOfRangeException 对象。

参见

Reference

CommonExceptions 类
ArgumentOutOfRange 重载
Cyjb 命名空间

Clone this wiki locally