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

Gets a collection of T objects that are the children of the element specified by xpath.

Namespace:  Facebook.Api
Assembly:  Facebook (in Facebook.dll) Version: 0.2009.4.13 (0.2009.4.13)

Syntax

C#
public static FacebookList<T> GetFacebookObjectCollection<T>(
	this IFacebookObject obj,
	string xpath
)
where T : new(), FacebookObjectBase
Visual Basic (Declaration)
<ExtensionAttribute> _
Public Shared Function GetFacebookObjectCollection(Of T As {New, FacebookObjectBase}) ( _
	obj As IFacebookObject, _
	xpath As String _
) As FacebookList(Of T)
Visual C++
[ExtensionAttribute]
public:
generic<typename T>
where T : gcnew(), FacebookObjectBase
static FacebookList<T>^ GetFacebookObjectCollection(
	IFacebookObject^ obj, 
	String^ xpath
)

Parameters

obj
Type: Facebook.Api..::.IFacebookObject
A reference to the current IFacebookObject instance.
xpath
Type: System..::.String
A relative XPath query to the desired element.

Type Parameters

T
The type of value to return.

Return Value

A list of T objects representing the children of the specified element.

See Also

FacebookObjectExtensions Class
Facebook.Api Namespace