This documentation is archived and is not being maintained.

PassportIdentity.LogoTag Method

Returns an HTML fragment containing an HTML <img> tag for a Passport link.

Overload List

Returns an HTML fragment containing an image tag for a Passport link.

[Visual Basic] Overloads Public Function LogoTag() As String
[C#] public string LogoTag();
[C++] public: String* LogoTag();
[JScript] public function LogoTag() : String;

Returns an HTML fragment containing an HTML <img> tag for a Passport link.

[Visual Basic] Overloads Public Function LogoTag(String) As String
[C#] public string LogoTag(string);
[C++] public: String* LogoTag(String*);
[JScript] public function LogoTag(String) : String;

Returns an HTML fragment containing an HTML <img> tag for a Passport link.

[Visual Basic] Overloads Public Function LogoTag(String, Integer, Boolean, String, Integer, Boolean, String, Integer, Boolean) As String
[C#] public string LogoTag(string, int, bool, string, int, bool, string, int, bool);
[C++] public: String* LogoTag(String*, int, bool, String*, int, bool, String*, int, bool);
[JScript] public function LogoTag(String, int, Boolean, String, int, Boolean, String, int, Boolean) : String;

Returns an HTML fragment containing an HTML <img> tag for a Passport link.

[Visual Basic] Overloads Public Function LogoTag(String, Integer, Integer, String, Integer, Integer, String, Integer, Integer) As String
[C#] public string LogoTag(string, int, int, string, int, int, string, int, int);
[C++] public: String* LogoTag(String*, int, int, String*, int, int, String*, int, int);
[JScript] public function LogoTag(String, int, int, String, int, int, String, int, int) : String;

Example

[Visual Basic, C#, C++] Note   This example shows how to use one of the overloaded versions of LogoTag. For other examples that might be available, see the individual overload topics.
[Visual Basic] 
' Declare new PassportIdendity object as variable newPass.
Dim newPass As System.Web.Security.PassportIdentity = New System.Web.Security.PassportIdentity()
' Set a string to the URL of the appropriate Passport 
' SignIn/SignOut Authority.
Dim sPassportlink As String = newPass.LogoTag()

[C#] 
// Declare new PassportIdendity object as variable newPass.
System.Web.Security.PassportIdentity newPass = new System.Web.Security.PassportIdentity();
// Set a string to the URL of the appropriate Passport SignIn/SignOut authority.
string sPassportlink = newPass.LogoTag();

[C++] 
// Declare new PassportIdendity object as variable newPass.
PassportIdentity* newPass = new PassportIdentity();
// Set a string to the URL of the appropriate Passport SignIn/SignOut authority.
String* sPassportlink = newPass->LogoTag();

[JScript] No example is available for JScript. To view a Visual Basic, C#, or C++ example, click the Language Filter button Language Filter in the upper-left corner of the page.

See Also

PassportIdentity Class | PassportIdentity Members | System.Web.Security Namespace

Show: