ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer
GetDomain Method
See Also 
ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer Namespace > MapResourceBase Class : GetDomain Method




fieldname
Name of field to obtain domain information.
subtype
Subtype associated with the field.
tableId
Table id associated with the subtype.
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 SubtypeInfo, _
   ByVal tableId As Integer _
) As Domain
Visual Basic (Usage)Copy Code
Dim instance As MapResourceBase
Dim fieldname As String
Dim subtype As SubtypeInfo
Dim tableId As Integer
Dim value As Domain
 
value = instance.GetDomain(fieldname, subtype, tableId)
C# 
public Domain GetDomain( 
   string fieldname,
   SubtypeInfo subtype,
   int 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.

See Also

© 2010 All Rights Reserved.