xtd 0.2.0
xtd::web::css::property Class Reference

Constructors

 property ()=default
 
 property (const xtd::ustring &value)
 

Operators

 operator xtd::ustring () noexcept
 

Properties

const xtd::ustringvalue () const noexcept
 
template<typename value_t >
uintptr value () const noexcept
 

Methods

bool to_boolean () const
 
double to_double () const
 
sbyte to_int8 () const
 
int16 to_int16 () const
 
int32 to_int32 () const
 
int64 to_int64 () const
 
intptr to_intptr () const
 
float to_single () const
 
xtd::ustring to_string () const noexcept override
 Returns a sxd::ustring that represents the current object. More...
 
xtd::byte to_uint8 () const
 
uint16 to_uint16 () const
 
uint32 to_uint32 () const
 
uint64 to_uint64 () const
 
uintptr to_uintptr () const
 
template<typename value_t >
uintptr to () const
 
static property from (bool value)
 
static property from (double value)
 
static property from (float value)
 
static property from (sbyte value)
 
static property from (int16 value)
 
static property from (int32 value)
 
static property from (int64 value)
 
static property from (const xtd::ustring &value)
 
static property from (xtd::byte value)
 
static property from (uint16 value)
 
static property from (uint32 value)
 
static property from (uint64 value)
 
template<typename value_t >
static property from (value_t value)
 

Additional Inherited Members

- Public Member Functions inherited from xtd::object
 object ()=default
 Create a new instance of the ultimate base class object. More...
 
bool equals (const object &obj) const noexcept
 Determines whether the specified object is equal to the current object. More...
 
virtual size_t get_hash_code () const noexcept
 Serves as a hash function for a particular type. More...
 
virtual type_object get_type () const noexcept
 Gets the type of the current instance. More...
 
template<typename object_t >
std::unique_ptr< object_t > memberwise_clone () const noexcept
 Creates a shallow copy of the current object. More...
 
- Static Public Member Functions inherited from xtd::object
static bool equals (const object &object_a, const object &object_b) noexcept
 Determines whether the specified object instances are considered equal. More...
 
static bool reference_equals (const object &object_a, const object &object_b) noexcept
 Determines whether the specified object instances are the same instance. More...
 

Member Function Documentation

◆ to_string()

xtd::ustring xtd::web::css::property::to_string ( ) const
inlineoverridevirtualnoexcept

Returns a sxd::ustring that represents the current object.

Returns
A string that represents the current object.
Examples
The following code example demonstrates what to_string returns.

Reimplemented from xtd::object.


The documentation for this class was generated from the following file: