GetAxis Method (NAxisCollection)
Obtains a reference to an axis by its id.
'Declaration
Public Function GetAxis( _
ByVal As System.Integer _
) As NAxis
'Usage
Dim instance As NAxisCollection
Dim nAxisId As System.Integer
Dim value As NAxis
value = instance.GetAxis(nAxisId)
public NAxis GetAxis(
System.int
)
Parameters
- nAxisId
- the axis id
Return Value
a reference to the axis. If the the axis id references an invalid axis the returned value is null.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2