Rediger

Del via


MultiPartWriter.AddResource Method

Definition

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 Mobile Apps & Sites with ASP.NET.

Overloads

AddResource(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 Mobile Apps & Sites with ASP.NET.

AddResource(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 Mobile Apps & Sites with ASP.NET.

AddResource(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 Mobile Apps & Sites with ASP.NET.

public:
 void AddResource(System::String ^ url);
public void AddResource (string url);
member this.AddResource : string -> unit
Public Sub AddResource (url As String)

Parameters

url
String

The URL to add the resource reference to.

Remarks

The behavior of this method is reserved for future versions.

See also

Applies to

AddResource(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 Mobile Apps & Sites with ASP.NET.

public:
 abstract void AddResource(System::String ^ url, System::String ^ contentType);
public abstract void AddResource (string url, string contentType);
abstract member AddResource : string * string -> unit
Public MustOverride Sub AddResource (url As String, contentType As String)

Parameters

url
String

The URL to add the resource reference to.

contentType
String

(Optional) The MIME type of the content.

Remarks

The behavior of this method is reserved for future versions.

See also

Applies to