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

Finds first property of specified object lying after specified property in specified direction

Namespace: Tools.XmlT.XPathT
Assembly: Tools (in Tools.dll) Version: 1.5.3.38916 (1.5.3.38916)

Syntax

C#
protected PropertyInfo GetFirstProperty(
	Object Obj,
	PropertyInfo After,
	bool Reverse
)
Visual Basic
Protected Function GetFirstProperty ( _
	Obj As Object, _
	After As PropertyInfo, _
	Reverse As Boolean _
) As PropertyInfo
Visual C++
protected:
PropertyInfo^ GetFirstProperty(
	Object^ Obj, 
	PropertyInfo^ After, 
	bool Reverse
)
F#
member GetFirstProperty : 
        Obj:Object * 
        After:PropertyInfo * 
        Reverse:bool -> PropertyInfo 
JScript
protected function GetFirstProperty(
	Obj : Object, 
	After : PropertyInfo, 
	Reverse : boolean
) : PropertyInfo

Parameters

Obj
Type: System..::..Object
Object to be sought for property. If ommited ContextObject is used.
After
Type: System.Reflection..::..PropertyInfo
Property after which the search should start. If ommited first property is returned
Reverse
Type: System..::..Boolean
If true the property is being searched from last to first instead of from first to last

Return Value

First usable property of spacified object laying after specified property in specified direction. Usable properties are public instance properties (and not IsSpecialName) with public get accessor which is callable without parameters. If no such property is found null is returned.

See Also