MobileTextWriter.AddResource(String, String) Metod

Definition

Lägger till en resursreferens till den angivna URL:en med den valfria MIME-typen för det angivna innehållet. Det här API:et är föråldrat. Information om hur du utvecklar ASP.NET mobila program finns i Mobile Apps & Webbplatser med 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)

Parametrar

url
String

URL:en som resursreferensen ska läggas till i.

contentType
String

(Valfritt) MIME-typen av innehåll.

Gäller för

Se även