Table of Contents

Class CSSDescription

Namespace
HP.LFT.SDK.Web
Assembly
HP.LFT.SDK.dll

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

public class CSSDescription : PropertiesDescription, IDescription, ICloneable
Inheritance
CSSDescription
Implements
Inherited Members

Constructors

CSSDescription()

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

public CSSDescription()

CSSDescription(string)

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

public CSSDescription(string cssSelector)

Parameters

cssSelector string

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

Methods

ToString()

ToString override. The string representation of this CSSDescription object.

public override string ToString()

Returns

string

Operators

implicit operator CSSDescription(string)

Implicit cast of the specified string to a CSSDescription.

public static implicit operator CSSDescription(string cssStr)

Parameters

cssStr string

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

Returns

CSSDescription

A CSSDescription object based on the specified css selector.