Język

MobileTextWriter.AddResource(String, String) Metoda

Definicja

Dodaje odwołanie do danego adresu URL z opcjonalnym typem MIME dla określonej zawartości. Ten interfejs API jest przestarzały. Aby uzyskać informacje na temat tworzenia aplikacji mobilnych ASP.NET, zobacz Mobile Apps & Witryny z ASP.NET.

public:
 override void AddResource(System::String ^ url, System::String ^ contentType);
public override void AddResource(string url, string contentType);
override this.AddResource : string * string -> unit
Public Overrides Sub AddResource (url As String, contentType As String)

Parametry

url
String

Adres URL służący do dodawania odwołania do zasobu.

contentType
String

(Opcjonalnie) Typ MIME zawartości.

Dotyczy

Zobacz też