Get domain associated with a field, but if the domain for that field is inherited from another field, then obtain domain information from that other field.
Syntax
Visual Basic (Declaration) | |
---|
Public Function GetDomain( _
ByVal fieldname As String, _
ByVal subtype As ESRI.ArcGIS.ADF.ArcGISServer.SubtypeInfo, _
ByVal tableId As Integer _
) As ESRI.ArcGIS.ADF.ArcGISServer.Domain |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As MapResourceBase
Dim fieldname As String
Dim subtype As ESRI.ArcGIS.ADF.ArcGISServer.SubtypeInfo
Dim tableId As Integer
Dim value As ESRI.ArcGIS.ADF.ArcGISServer.Domain
value = instance.GetDomain(fieldname, subtype, tableId) |
Parameters
- fieldname
- Name of field to obtain domain information.
- subtype
- Subtype associated with the field.
- tableId
- Table id associated with the subtype.
Return Value
The domain associated with the field or null if no domain is found.
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