# ExpansionConfig.GetBoardType()

Gets the expansion board type.

Member of the cExpansionConfig class. Accessible from the MccBoard.ExpansionConfig property.

## Function Prototype

VB .NET

Public Function GetBoardType(ByVal devNum As Integer, ByRef configVal As Integer) As MccDaq.ErrorInfo

C# .NET

public MccDaq.ErrorInfo GetBoardType(int devNum, out int configVal)

## Parameters

devNum

Number of the expansion board.

configVal

Returns a number indicating the expansion board type. Refer to "Measurement Computing Device IDs" for more information.

## Returns

- An ErrorInfo object that indicates the status of the operation.