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:
virtual void AddResource(
	String^ url,
	String^ contentType
) override

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: