ReportColor.TryParse 方法

定義

嘗試將 string 值剖析為 ReportColor

多載

TryParse(String, ReportColor)

嘗試將 string 值剖析為 ReportColor

TryParse(String, Boolean, ReportColor)

嘗試將 string 值剖析為 ReportColor

TryParse(String, ReportColor)

嘗試將 string 值剖析為 ReportColor

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

參數

value
String

字串值。

reportColor
ReportColor

[out] 報表色彩。

傳回

Boolean

如果嘗試成功,則為 true,否則為 false

適用於

TryParse(String, Boolean, ReportColor)

嘗試將 string 值剖析為 ReportColor

public:
 static bool TryParse(System::String ^ value, bool allowTransparency, [Runtime::InteropServices::Out] Microsoft::ReportingServices::OnDemandReportRendering::ReportColor ^ % reportColor);
public static bool TryParse (string value, bool allowTransparency, out Microsoft.ReportingServices.OnDemandReportRendering.ReportColor reportColor);
static member TryParse : string * bool * ReportColor -> bool
Public Shared Function TryParse (value As String, allowTransparency As Boolean, ByRef reportColor As ReportColor) As Boolean

參數

value
String

字串值。

allowTransparency
Boolean

是否允許色彩透明度。

reportColor
ReportColor

[out] 報表色彩。

傳回

Boolean

如果嘗試成功,則為 true,否則為 false

適用於