| NDesk.Options Namespace > OptionValueCollection Class : IndexOf Method |
'DeclarationPublic Function IndexOf( _ ByVal item As System.String _ ) As System.Integer
'UsageDim instance As OptionValueCollection Dim item As System.String Dim value As System.Integer value = instance.IndexOf(item)
public System.int IndexOf( System.string item )
public function IndexOf( item: System.String ): System.Integer;
public function IndexOf( item : System.String ) : System.int;
public: System.int IndexOf( System.string* item )
public: System.int IndexOf( System.String^ item )
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