AddResource Method (String, String)
Collapse the table of content
Expand the table of content

MobileTextWriter.AddResource Method (String, String)

 

Adds a resource reference to the given URL, with the optional MIME type for the specified content. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.

Namespace:   System.Web.UI.MobileControls.Adapters
Assembly:  System.Web.Mobile (in System.Web.Mobile.dll)

public override void AddResource(
	string url,
	string contentType
)

Parameters

url
Type: System.String

The URL to add the resource reference to.

contentType
Type: System.String

(Optional) The MIME type of the content.

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft