Add Method

Adds a new Cascading Style Sheets (CSS) attribute/value pair.

Syntax

Visual Basic  Public   Sub 
Add(
        ByVal sName As string,
        ByVal sValue As string
)
C# public  void 
Add(
        string sName,
        string sValue
);
Managed C++ public:  void 
Add(
        string sName,
        string sValue
);
JScript public  function
Add(
        sName : string,
        sValue : string
);

Parameters

sName Required. The CSS attribute name.
sValue Required. The CSS value.

Return Value

No return value.

Applies To

CssCollection

See Also

Internet Explorer WebControls