ClientScriptResourceAttribute Constructor (String, Type, String) |
Associates a client script resource with the class.
Namespace: Kettic.AspNetAssembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntaxpublic ClientScriptResourceAttribute(
string componentType,
Type baseType,
string resourceName
)
Public Sub New (
componentType As String,
baseType As Type,
resourceName As String
)
public:
ClientScriptResourceAttribute(
String^ componentType,
Type^ baseType,
String^ resourceName
)
new :
componentType : string *
baseType : Type *
resourceName : string -> ClientScriptResourceAttribute
Parameters
- componentType
- Type: SystemString
The name given to the class in the Web.TypeDescriptor.addType call - baseType
- Type: SystemType
A Type that lives in the same folder as the script file - resourceName
- Type: SystemString
The name of the script file itself (e.g. 'foo.cs')
See Also