Adds the specified property and value.
Syntax
CSharp
VisualBasic
Public Sub AddProperty ( _
name As String, _
value As Object _
)
ManagedCPlusPlus
JSharp
Parameters
- name (String)
The name of the property.
- value (Object)
The value of the property.
Remarks
This method adds the property and value to the internal dictionary of properties that are converted to client script by the GetScript() method.
Exceptions
Assembly: System.Web.Extensions (Module: System.Web.Extensions)