Transforms api user object to Opensocial person object.

Namespace: MonoSoftware.MonoX.OpenSocial
Assembly: MonoX (in MonoX.dll) Version: 5.1.40.5065 (5.1.40.5065)

Syntax

C#
public static Person ToPerson(
	this User user
)
Visual Basic
<ExtensionAttribute> 
Public Shared Function ToPerson ( 
	user As User
) As Person
Visual C++
public:
[ExtensionAttribute]
static Person^ ToPerson(
	User^ user
)
F#
static member ToPerson : 
        user : User -> Person 

Parameters

user
Type: MonoSoftware.MonoX.API..::..User
User object.

Return Value

Type: Person
Opensocial person object.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type User. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also