ReportColor.TryParse 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
嘗試將 string 值剖析為 ReportColor。
多載
| TryParse(String, ReportColor) |
嘗試將 |
| TryParse(String, Boolean, 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] 報表色彩。
傳回
如果嘗試成功,則為 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] 報表色彩。
傳回
如果嘗試成功,則為 true,否則為 false。