Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Method: string OrDefaultTo(string)

  • Declared in: RT.KitchenSink.Collections.RVariant

Declaration

public string OrDefaultTo(
    string defaultValue
)

Summary

Treating this node as a Value, returns the value converted to a string or the default value specified by defaultValue if the conversion is not possible. Also returns the default value if this node is not of a Value type.