Visual Basic (Declaration) | |
---|---|
Public Overloads Overridable Function IndexOf( _ ByVal name As System.String _ ) As System.Integer |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As HolidayCollection Dim name As System.String Dim value As System.Integer value = instance.IndexOf(name) |
C# | |
---|---|
public virtual System.int IndexOf( System.string name ) |
Delphi | |
---|---|
public function IndexOf( name: System.String ): System.Integer; virtual; |
JScript | |
---|---|
public function IndexOf( name : System.String ) : System.int; |
Managed Extensions for C++ | |
---|---|
public: virtual System.int IndexOf( System.string* name ) |
C++/CLI | |
---|---|
public: virtual System.int IndexOf( System.String^ name ) |
Parameters
- name
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