TryGetEnum<T> Method (IPdfArrayExt)
In This Topic
Tries to get the enum value at the specified index. If the value does not exist or cannot be converted to an enum, returns false.
Syntax
'Declaration
Public Shared Function TryGetEnum(Of As {New, Struct})( _
ByVal As IPdfArray, _
ByVal As System.Integer, _
ByRef As _
) As System.Boolean
public static System.bool TryGetEnum<>(
IPdfArray ,
System.int ,
out
)
where T: new(), struct
Parameters
- array
- The current array.
- index
- The value index.
- value
- OUT. When this method returns, contains the enum value.
Type Parameters
- T
Return Value
true if value exists; otherwise, false.
See Also