语言

ReportSize.TryParse 方法

定义

尝试将字符串值解析为 ReportSize。

重载

名称 说明
TryParse(String, ReportSize)

尝试将字符串值解析为 ReportSize。

TryParse(String, Boolean, ReportSize)

尝试将字符串值解析为 ReportSize。

TryParse(String, ReportSize)

尝试将字符串值解析为 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

参数

value
String

字符串值。

reportSize
ReportSize

[输出] 解析后的报告大小。

返回

true 如果尝试成功,则为否则,为 false.

适用于

TryParse(String, Boolean, ReportSize)

尝试将字符串值解析为 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

参数

value
String

字符串值。

allowNegative
Boolean

是否允许负值 。value

reportSize
ReportSize

[输出] 解析后的报告大小。

返回

true 如果尝试成功,则为否则,为 false.

适用于