通过


MultiPartWriter.AddResource 方法

定义

使用指定内容的可选 MIME 类型向给定 URL 添加资源引用。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

重载

名称 说明
AddResource(String)

使用指定内容的可选 MIME 类型向给定 URL 添加资源引用。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

AddResource(String, String)

使用指定内容的可选 MIME 类型向给定 URL 添加资源引用。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

AddResource(String)

使用指定内容的可选 MIME 类型向给定 URL 添加资源引用。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

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

参数

url
String

要向其添加资源引用的 URL。

注解

此方法的行为保留为将来的版本。

另请参阅

适用于

AddResource(String, String)

使用指定内容的可选 MIME 类型向给定 URL 添加资源引用。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 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)

参数

url
String

要向其添加资源引用的 URL。

contentType
String

(可选)内容的 MIME 类型。

注解

此方法的行为保留为将来的版本。

另请参阅

适用于