ScriptComponentDescriptor.AddScriptProperty(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds the specified property, and associates the property with the specified script.
public:
void AddScriptProperty(System::String ^ name, System::String ^ script);
public void AddScriptProperty (string name, string script);
member this.AddScriptProperty : string * string -> unit
Public Sub AddScriptProperty (name As String, script As String)
Parameters
- name
- String
The name of the property.
- script
- String
The script that is rendered to the browser.
Exceptions
script
is null
or an empty string ("").
Remarks
Use the AddScriptProperty method to render script that is not serialized to the browser.
Applies to
Surađujte s nama na GitHubu
Izvor za ovaj sadržaj možete pronaći na GitHubu, gdje možete stvarati i pregledavati probleme i zahtjeve za povlačenjem. Dodatne informacije potražite u našem vodiču za suradnike.