MultiPartWriter.AddResource Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- Architectural Overview of Adaptive Control Behavior
- Adapter Sets Functionality
- Control and Adapter Interaction
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
- Architectural Overview of Adaptive Control Behavior
- Adapter Sets Functionality
- Control and Adapter Interaction