Click or drag to resize

ICommenceDatabaseGetCursor Method

Create a cursor.

Namespace:  Vovin.CmcLibNet.Database
Assembly:  Vovin.CmcLibNet (in Vovin.CmcLibNet.dll) Version: 1.0.7729.42686
Syntax
ICommenceCursor GetCursor(
	string category,
	CmcCursorType pCursorType = CmcCursorType.Category,
	CmcOptionFlags pOptionFlags = CmcOptionFlags.Default
)

Parameters

category
Type: SystemString
Commence category name.
pCursorType (Optional)
Type: Vovin.CmcLibNet.DatabaseCmcCursorType
Cursor type.
pOptionFlags (Optional)
Type: Vovin.CmcLibNet.DatabaseCmcOptionFlags
Cursor flags.

Return Value

Type: ICommenceCursor
ICommenceCursor.
Remarks
Note the optional parameters this allows COM clients to use just the category name to get a default cursor but also not that because of the optional paramaters, which must come at the end, the order is different from what Commence developers are used to.
See Also