Gets a default title for the collection. Uses the DisplayField if available, otherwise looks for a name field, or the first string type column.
Syntax
Visual Basic (Usage) | Copy Code |
---|
Dim instance As FieldInfoCollection
Dim returnFieldNames As Boolean
Dim value As String
value = instance.GetDefaultTitle(returnFieldNames) |
Parameters
- returnFieldNames
- Whether to use field names for the display field.
Return Value
Default title for the collection.
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also