Gets the position of a given
C1OlapField in the list.
public System.int IndexOf(
System.string
)
public function IndexOf(
: System.String
): System.Integer;
public function IndexOf(
: System.String
) : System.int;
public: System.int IndexOf(
System.string*
)
public:
System.int IndexOf(
System.String^
)
'Declaration
Public Overloads Function IndexOf( _
ByVal As System.String _
) As System.Integer
'Usage
Dim instance As C1OlapFieldList
Dim fieldName As System.String
Dim value As System.Integer
value = instance.IndexOf(fieldName)
Parameters
- fieldName
- Name of the field to look for.
Return Value
The index of the field in the list, or -1 if the field is not a member of the list.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2