Dynamicweb 8 Documentation
IndexOf(String) Method

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

Parameters

strTypeID

Return Value

if strTypeID 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

PropertyProductRelationCollection Class
PropertyProductRelationCollection Members
Overload List

Send Feedback