指定されたインデックスにある null 許容の列挙値を取得します。値が存在しない場合、または列挙値に変換できない場合は、 (null の場合もあります) を返します。
シンタックス
'宣言
Public Overloads Shared Function GetEnum(Of As {New, Struct})( _
ByVal As IPdfArray, _
ByVal As System.Integer, _
ByVal As System.Nullable(Of T) _
) As System.Nullable(Of T)
public static System.Nullable<T> GetEnum<>(
IPdfArray ,
System.int ,
System.Nullable<T>
)
where T: new(), struct
パラメータ
- array
- 現在の配列。
- index
- 値のインデックス。
- defValue
- デフォルト値。
型パラメータ
- T
戻り値の型
指定されたインデックスの値、または 。
参照