WebResourceAttribute コンストラクタ
アセンブリ: System.Web (system.web.dll 内)

Public Sub New ( _ webResource As String, _ contentType As String _ )
Dim webResource As String Dim contentType As String Dim instance As New WebResourceAttribute(webResource, contentType)
public WebResourceAttribute ( string webResource, string contentType )
public: WebResourceAttribute ( String^ webResource, String^ contentType )
public WebResourceAttribute ( String webResource, String contentType )
public function WebResourceAttribute ( webResource : String, contentType : String )

例外の種類 | 条件 |
---|---|
ArgumentException | webResource が null 参照 (Visual Basic では Nothing) か空の文字列 ("") です。 または contentType が null 参照 (Visual Basic では Nothing) か空の文字列 ("") です。 |

Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


- WebResourceAttribute コンストラクタのページへのリンク