ReportSize.TryParse Method

Definition

Attempts to parse a string value into a ReportSize.

Overloads

TryParse(String, ReportSize)

Attempts to parse a string value into a ReportSize.

TryParse(String, Boolean, ReportSize)

Attempts to parse a string value into a ReportSize.

TryParse(String, ReportSize)

Attempts to parse a string value into a ReportSize.

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

Parameters

value
String

The string value.

reportSize
ReportSize

[out] the parsed report size.

Returns

true if the attempt is successful; otherwise, false.

Applies to

TryParse(String, Boolean, ReportSize)

Attempts to parse a string value into a ReportSize.

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

Parameters

value
String

The string value.

allowNegative
Boolean

Whether to allow a negative value in value.

reportSize
ReportSize

[out] the parsed report size.

Returns

true if the attempt is successful; otherwise, false.

Applies to