[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(
	PropertyHandle ancestor
)
Visual Basic (Declaration)
Public Function IndexOf ( _
	ancestor As PropertyHandle _
) As Integer
Visual C++
public:
int IndexOf (
	PropertyHandle ancestor
)

Parameters

ancestor
PropertyHandle
The ancestor property to look for.

Return Value

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

See Also

PropertyChain Structure
Spielwerke.Data Namespace