Dynamicweb 8 Documentation
IndexOf(String) Method

Searches the PropertyFieldOptions list for the existance of strOptionID
Syntax
'Declaration
 
Public Overloads Function IndexOf( _ 
   ByVal strOptionID As String _ 
) As Integer
public int IndexOf( 
   string strOptionID 
)

Parameters

strOptionID

Return Value

if strOptionID is found in the collection the index of that position is returned 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

Reference

PropertyFieldOptionCollection Class
PropertyFieldOptionCollection Members
Overload List

Send Feedback