共用方式為


Color.TryParse(String, Color) 方法

定義

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

參數

value
String
color
Color

傳回

適用於