FieldValue.AsInt64 Method

Definition

Gets the value of the field as a System.Int64.

public long AsInt64 ();
member this.AsInt64 : unit -> int64
Public Function AsInt64 () As Long

Returns

System.Int64

The value of the field converted to a System.Int64.

Exceptions

System.InvalidOperationException

Thrown when ValueType is not Int64 or when the value is null.

Applies to