ESRI.ArcGIS.ADF.Tasks
GetCodedNameInfo Method
See Also 
ESRI.ArcGIS.ADF.Tasks Namespace > CodedValuesUtility Class : GetCodedNameInfo Method




tblInfo
Layer information.
fldName
Field to interrogate.
fldValue
Field descriptive value to use to obtain corresponding information.
mrb
Map resource needed to obtain subtype information.
code
Code associated with description.
subtypeFieldName
Subtype field name if applicable.
subtypeFieldCode
Subtype field value to fully qualify query for input field.
Obtain associated information for the indicated layer, fields in that layer, and coded value for that field. This is used to construct a properly formatted query that might require that the field by fully qualified with corresponding subtype column name and associated value.

Syntax

Visual Basic (Declaration) 
Public Shared Sub GetCodedNameInfo( _
   ByVal tblInfo As MapTableInfo, _
   ByVal fldName As String, _
   ByVal fldValue As String, _
   ByVal mrb As MapResourceBase, _
   ByRef code As Object, _
   ByRef subtypeFieldName As String, _
   ByRef subtypeFieldCode As Integer _
) 
Visual Basic (Usage)Copy Code
Dim tblInfo As MapTableInfo
Dim fldName As String
Dim fldValue As String
Dim mrb As MapResourceBase
Dim code As Object
Dim subtypeFieldName As String
Dim subtypeFieldCode As Integer
 
CodedValuesUtility.GetCodedNameInfo(tblInfo, fldName, fldValue, mrb, code, subtypeFieldName, subtypeFieldCode)
C# 
public static void GetCodedNameInfo( 
   MapTableInfo tblInfo,
   string fldName,
   string fldValue,
   MapResourceBase mrb,
   out object code,
   out string subtypeFieldName,
   out int subtypeFieldCode
)

Parameters

tblInfo
Layer information.
fldName
Field to interrogate.
fldValue
Field descriptive value to use to obtain corresponding information.
mrb
Map resource needed to obtain subtype information.
code
Code associated with description.
subtypeFieldName
Subtype field name if applicable.
subtypeFieldCode
Subtype field value to fully qualify query for input field.

See Also

© 2010 All Rights Reserved.