ReportColor.TryParse Method

Definition

Attempts to parse a string value to a ReportColor.

Overloads

TryParse(String, ReportColor)

Attempts to parse a string value to a ReportColor.

TryParse(String, Boolean, ReportColor)

Attempts to parse a string value to a ReportColor.

TryParse(String, ReportColor)

Attempts to parse a string value to a 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

Parameters

value
String

The string value.

reportColor
ReportColor

[out] The report color.

Returns

true if the attempt is successful; otherwise, false.

Applies to

TryParse(String, Boolean, ReportColor)

Attempts to parse a string value to a 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

Parameters

value
String

The string value.

allowTransparency
Boolean

Whether to allow transparency.

reportColor
ReportColor

[out] The report color.

Returns

true if the attempt is successful; otherwise, false.

Applies to