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

[out] 分析后的报表大小。

返回

如果尝试成功,则为 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

[out] 分析后的报表大小。

返回

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

适用于