ExtensionMethods.ToLowercaseString Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ToLowercaseString(Nullable<Color>) |
Returns a lowercase string for |
ToLowercaseString(Color) |
Returns a lowercase string for |
ToLowercaseString(Nullable<Color>)
Returns a lowercase string for color
. This is equivalent to
color.ToString().ToLower(), but it doesn't create extra garbage.
public:
[System::Runtime::CompilerServices::Extension]
static System::String ^ ToLowercaseString(Nullable<System::Windows::Media::Color> color);
public static string ToLowercaseString (this System.Windows.Media.Color? color);
static member ToLowercaseString : Nullable<System.Windows.Media.Color> -> string
<Extension()>
Public Function ToLowercaseString (color As Nullable(Of Color)) As String
Parameters
Returns
Applies to
ToLowercaseString(Color)
Returns a lowercase string for color
. This is equivalent to
color.ToString().ToLower(), but it doesn't create extra garbage.
public:
[System::Runtime::CompilerServices::Extension]
static System::String ^ ToLowercaseString(System::Windows::Media::Color color);
public static string ToLowercaseString (this System.Windows.Media.Color color);
static member ToLowercaseString : System.Windows.Media.Color -> string
<Extension()>
Public Function ToLowercaseString (color As Color) As String
Parameters
- color
- Color
The color to turn into a string