Index.Implicit(Int32 to Index) 运算符

定义

将整数转换为索引。Converts integer number to an Index.

public:
 static operator Index(int value);
public static implicit operator Index (int value);
static member op_Implicit : int -> Index
Public Shared Widening Operator CType (value As Integer) As Index

参数

value
Int32

要转换的整数。The integer to convert.

返回

Index

一个表示整数的索引。An Index representing the integer.

适用于