Class CSSDescription
The description of a Web test object based on a CSS selector.
Inherited Members
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
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. |