GamerCard.GetHtml Method

Displays an Xbox gamer card.

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


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

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


  • 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.


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

See Also


GamerCard Class

Microsoft.Web.Helpers Namespace