WebResourceAttribute(String, String) Konstruktor
Definíció
Fontos
Egyes információk olyan, kiadás előtti termékekre vonatkoznak, amelyek a kiadásig még jelentősen módosulhatnak. A Microsoft nem vállal kifejezett vagy törvényi garanciát az itt megjelenő információért.
Inicializálja az osztály új példányát a WebResourceAttribute megadott webes erőforrás- és erőforrás-tartalomtípussal.
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)
Paraméterek
- webResource
- String
A webes erőforrás neve.
- contentType
- String
Az erőforrás típusa, például "image/gif" vagy "text/javascript".