|  | This document is archived and information here might be outdated. Recommended version. | 
| ArcObjects Help for .NET developers > ArcObjects namespaces > GeoDatabaseExtensions > ESRI.ArcGIS.GeoDatabaseExtensions > Interfaces > IL > ILasFile Interface > ILasFile.GetVersion Method (ArcObjects .NET 10.5 SDK) | 
The version of the LAS file.
[Visual Basic .NET] Public Sub GetVersion ( _ ByRef pMajor As Integer, _ ByRef pMinor As Integer _ )
[C#] public void GetVersion ( ref int pMajor, ref int pMinor );
[C++]
HRESULT GetVersion(
  long* pMajor,
  long* pMinor
);
[C++]
Parameters pMajor [out] pMajor is a parameter of type long pMinor [out] pMinor is a parameter of type long
Outputs the version of the las file to pMajor and pMinor. The version is based on the standard as defined in the LAS specification.