ScriptComponentDescriptor.AddElementProperty(String, String) Method

Definition

Adds the specified property and associates that property with the specified component.

public void AddElementProperty(string name, string elementID);

Parameters

name
String

The name of the property.

elementID
String

The ID of the target element.

Exceptions

name or component is null or an empty string ("").

Remarks

This method adds the specified property to the internal dictionary of properties that are converted to client script by the GetScript method.

Applies to

Product Versions
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1