GamerCard.GetHtml Method

Displays an Xbox gamer card.

Namespace:  Microsoft.Web.Helpers
Assembly:  Microsoft.Web.Helpers (in Microsoft.Web.Helpers.dll)

Syntax

'Declaration
Public Shared Function GetHtml ( _
    gamerTag As String _
) As HtmlString
'Usage
Dim gamerTag As String
Dim returnValue As HtmlString

returnValue = GamerCard.GetHtml(gamerTag)
public static HtmlString GetHtml(
    string gamerTag
)
public:
static HtmlString^ GetHtml(
    String^ gamerTag
)
public static function GetHtml(
    gamerTag : String
) : HtmlString

Parameters

  • gamerTag
    Type: System.String
    The tag name of the user whose gamer card is being rendered.

Return Value

Type: HtmlString
Returns an html snippet that contains the gamer card.

Permissions

  • Medium trust for the immediate caller. This member can be used by partially trusted code.

See Also

Reference

GamerCard Class

Microsoft.Web.Helpers Namespace