Gets the names and types of fields in a layer.
Syntax
Visual Basic (Usage) | Copy Code |
---|
Dim instance As QueryFunctionality
Dim mapFunctionalityName As String
Dim layerID As String
Dim fieldTypes As Type()
Dim value() As String
value = instance.GetFields(mapFunctionalityName, layerID, fieldTypes) |
Parameters
- mapFunctionalityName
- Name of the map functionality. May be null for some resource types.
- layerID
- ID of the layer.
- fieldTypes
- Output parameter: array of field Type objects corresponding to returned field names.
Return Value
Array of field names in the layer.
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