[This is preliminary documentation and is subject to change.]

Find "ancestor" in the property chain leading up to the property referred to by the path and return its index in the chain.

Namespace: Spielwerke.Data
Assembly:  Spielwerke.Data (in Spielwerke.Data.dll)
Version: 1.0.2761.41972

Syntax

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

Parameters

name
String
Name of the ancestor property to look for.

Return Value

The index of the ancestor property in the property chain, or -1 if the supplied property name is not part of the chain.

See Also

PropertyChain Structure
Spielwerke.Data Namespace