IndexOf(String) Method
See Also 
SourceCode.Workflow.Design.InfoPath.FormTemplate.Rules Namespace > RuleCollection Class > IndexOf Method : IndexOf(String) Method



name

Glossary Item Box

Syntax

Visual Basic (Declaration)  
Public Overloads Function IndexOf( _
   ByVal name As String _
) As Integer
Visual Basic (Usage) Copy Code
Dim instance As RuleCollection
Dim name As String
Dim value As Integer
 
value = instance.IndexOf(name)
C#  
public int IndexOf( 
   string name
)
C++/CLI  
public:
int IndexOf( 
   String^ name
) 

Parameters

name

Requirements

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

See Also