[]
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.
public static bool TryGetEnum<T>(this IPdfArray array, int index, out T value) where T : struct
Public Shared Function TryGetEnum(Of T As Structure)(array As IPdfArray, index As Integer, ByRef value As T) As Boolean
| Type | Name | Description |
|---|---|---|
| IPdfArray | array | The current array. |
| int | index | The value index. |
| T | value | OUT. When this method returns, contains the enum value. |
| Type | Description |
|---|---|
| bool | true if value exists; otherwise, false. |
| Name | Description |
|---|---|
| T |