Index.Implicit(Int32 to Index) 運算子

定義

將整數轉換為 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

要轉換的整數。

傳回

Index

代表整數的索引。

適用於