Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
WebResourceAttribute Properties

WebResourceAttribute Properties

The WebResourceAttribute type exposes the following members.

  Name Description
Public property CdnPath Gets or set the path of a Content Delivery Network (CDN) that contains Web resources.
Public property CdnSupportsSecureConnection Gets or set a value that indicates to the ScriptManager whether a script resource should be accessed using a secure connection to the content delivery network (CDN) path when the page is accessed using HTTPS.
Public property ContentType Gets a string containing the MIME type of the resource that is referenced by the WebResourceAttribute class.
Public property LoadSuccessExpression Gets or sets an expression that is used when a Web resource has successfully loaded.
Public property PerformSubstitution Gets or sets a Boolean value that determines whether, during processing of the embedded resource referenced by the WebResourceAttribute class, other Web resource URLs are parsed and replaced with the full path to the resource.
Public property TypeId When implemented in a derived class, gets a unique identifier for this Attribute. (Inherited from Attribute.)
Public property WebResource Gets a string containing the name of the resource that is referenced by the WebResourceAttribute class.
© 2015 Microsoft