共用方式為


Color.TryParse(String, Color) Method

Definition

public:
 static bool TryParse(System::String ^ value, [Runtime::InteropServices::Out] Microsoft::Maui::Graphics::Color ^ % color);
public static bool TryParse (string value, out Microsoft.Maui.Graphics.Color color);
static member TryParse : string * Color -> bool
Public Shared Function TryParse (value As String, ByRef color As Color) As Boolean

Parameters

value
String
color
Color

Returns

Applies to