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

Gets the value 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 T GetValueType<T>(
	this IFacebookObject obj,
	string xpath
)
where T : struct, new()
Visual Basic (Declaration)
<ExtensionAttribute> _
Public Shared Function GetValueType(Of T As {Structure, New}) ( _
	obj As IFacebookObject, _
	xpath As String _
) As T
Visual C++
[ExtensionAttribute]
public:
generic<typename T>
where T : value class, gcnew()
static T GetValueType(
	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 T value containing the value of the specified element.

See Also

FacebookObjectExtensions Class
Facebook.Api Namespace