Searches for the specified
CustomPlaceHolder
object and returns the zero-based index of the first occurrence within the
CustomPlaceHolderCollection
.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 NGroup _
) As System.Integer |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As NGroupCollection
Dim value As NGroup
Dim value As System.Integer
value = instance.IndexOf(value) |
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(
NGroup value
) |
Delphi | |
---|
public function IndexOf(
value: NGroup
): System.Integer; |
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 : NGroup
) : 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(
NGroup* 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(
NGroup^ 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