Searches for the specified
CustomPlaceHolder object and returns the zero-based index of the first occurrence within the
CustomPlaceHolderCollection.
Syntax
| Visual Basic (Declaration) | |
|---|
<System.ComponentModel.DescriptionAttribute("Searches for the specified CustomPlaceHolder object and returns the zero-based index of the first occurrence within the CustomPlaceHolderCollection.")>
Public Function IndexOf( _
ByVal value As CustomPlaceHolder _
) As System.Integer |
| C# | |
|---|
[System.ComponentModel.DescriptionAttribute("Searches for the specified CustomPlaceHolder object and returns the zero-based index of the first occurrence within the CustomPlaceHolderCollection.")]
public System.int IndexOf(
CustomPlaceHolder value
) |
| JScript | |
|---|
System.ComponentModel.DescriptionAttribute("Searches for the specified CustomPlaceHolder object and returns the zero-based index of the first occurrence within the CustomPlaceHolderCollection.")
public function IndexOf(
value : CustomPlaceHolder
) : System.int; |
| Managed Extensions for C++ | |
|---|
[System.ComponentModel.DescriptionAttribute("Searches for the specified CustomPlaceHolder object and returns the zero-based index of the first occurrence within the CustomPlaceHolderCollection.")]
public: System.int IndexOf(
CustomPlaceHolder* value
) |
| C++/CLI | |
|---|
[System.ComponentModel.DescriptionAttribute("Searches for the specified CustomPlaceHolder object and returns the zero-based index of the first occurrence within the CustomPlaceHolderCollection.")]
public:
System.int IndexOf(
CustomPlaceHolder^ value
) |
Parameters
- value
- The
CustomPlaceHolder object to locate.
Return Value
The zero-based index of the first occurrence of value in the
CustomPlaceHolderCollection, if found; otherwise, -1.
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