Share via


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

返回

适用于