# ExpansionConfig property

Represents an instance of the cExpansionConfig class. Use this property to call various expansion board configuration methods.

Member of the MccBoard class.

## Property prototype

VB .NET

Public ReadOnly Property ExpansionConfig As MccDaq.cExpansionConfig

C# .NET

public MccDaq.cExpansionConfig ExpansionConfig [get]

## Methods

Over a dozen configuration methods are accessible only from the ExpansionConfig property. Before you call any of these methods, you need to create an instance of an MccBoard object.

Dim MyBoard As MccDaq.MccBoard

MyBoard = New MccDaq.MccBoard(MyBoardNum)

To call these methods from the ExpansionConfig property, use the notation shown in the example below.

MyErrorInfo = MyBoard.ExpansionConfig.GetBoardType(MyExpNum, MyExpType)