次の方法で共有


ExtensionMethods.ToLowercaseString Method

Definition

Overloads

ToLowercaseString(Nullable<Color>)

Returns a lowercase string for color. This is equivalent to color.ToString().ToLower(), but it doesn't create extra garbage.

ToLowercaseString(Color)

Returns a lowercase string for color. This is equivalent to color.ToString().ToLower(), but it doesn't create extra garbage.

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

color
Nullable<Color>

The color to turn into a string

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

Returns

Applies to