Table of Contents

Class CSSDescription

The description of a Web test object based on a CSS selector.

Inheritance
CSSDescription
Namespace: HP.LFT.SDK.Web
Assembly: HP.LFT.SDK.dll
Syntax
public class CSSDescription : PropertiesDescription, IDescription, ICloneable

Constructors

CSSDescription()

Initializes a new instance of the CSSDescription class with an empty CSS selector (null).

Declaration
public CSSDescription()

CSSDescription(string)

Initializes a new instance of the CSSDescription class with the provided CSS selector.

Declaration
public CSSDescription(string cssSelector)
Parameters
Type Name Description
string cssSelector

The CSS selector to be used as the Web object's description.

Methods

ToString()

ToString override. The string representation of this CSSDescription object.

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()

Operators

implicit operator CSSDescription(string)

Implicit cast of the specified string to a CSSDescription.

Declaration
public static implicit operator CSSDescription(string cssStr)
Parameters
Type Name Description
string cssStr

The CSS selector to be used as the Web object's description.

Returns
Type Description
CSSDescription

A CSSDescription object based on the specified css selector.

Implements

IDescription
ICloneable