Searches for a subproperty with the specified name.

Namespace: vCards
Assembly: ICalVCard (in ICalVCard.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public int IndexOf(
	string name
)
Visual Basic
Public Function IndexOf ( _
	name As String _
) As Integer
Visual C++
public:
int IndexOf(
	String^ name
)

Parameters

name
Type: System..::..String
The name of the subproperty.

Return Value

The collection (zero-based) index of the first subproperty that matches the specified name. The function returns -1 if no match is found.

See Also