This documentation is archived and is not being maintained.
PassportIdentity.LogoTag2 Method
.NET Framework 1.1
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 LogoTag2() As String
[C#] public string LogoTag2();
[C++] public: String* LogoTag2();
[JScript] public function LogoTag2() : String;
Returns an HTML fragment containing an HTML <img> tag for a Passport link.
[Visual Basic] Overloads Public Function LogoTag2(String) As String
[C#] public string LogoTag2(string);
[C++] public: String* LogoTag2(String*);
[JScript] public function LogoTag2(String) : String;
Returns an HTML fragment containing an HTML <img> tag for a Passport link.
[Visual Basic] Overloads Public Function LogoTag2(String, Integer, Boolean, String, Integer, Boolean, String, Integer, Boolean) As String
[C#] public string LogoTag2(string, int, bool, string, int, bool, string, int, bool);
[C++] public: String* LogoTag2(String*, int, bool, String*, int, bool, String*, int, bool);
[JScript] public function LogoTag2(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 LogoTag2(String, Integer, Integer, String, Integer, Integer, String, Integer, Integer) As String
[C#] public string LogoTag2(string, int, int, string, int, int, string, int, int);
[C++] public: String* LogoTag2(String*, int, int, String*, int, int, String*, int, int);
[JScript] public function LogoTag2(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 LogoTag2. 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.LogoTag2() [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
in the upper-left corner of the page.
See Also
PassportIdentity Class | PassportIdentity Members | System.Web.Security Namespace
Show: