WebResourceAttribute(String, String) Constructor

Definitie

Initialiseert een nieuw exemplaar van de WebResourceAttribute klasse met het opgegeven webresource- en resource-inhoudstype.

public:
 WebResourceAttribute(System::String ^ webResource, System::String ^ contentType);
public WebResourceAttribute(string webResource, string contentType);
new System.Web.UI.WebResourceAttribute : string * string -> System.Web.UI.WebResourceAttribute
Public Sub New (webResource As String, contentType As String)

Parameters

webResource
String

De naam van de webresource.

contentType
String

Het type resource, zoals "image/gif" of "text/javascript".

Uitzonderingen

webResource is null of een lege tekenreeks ("").

– of –

contentType is null of een lege tekenreeks ("").

Van toepassing op