Color.TryParse(String, Color) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
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