ReportSize.TryParse 方法

定義

嘗試將字串值解析成 ReportSize

多載

名稱 Description
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

適用於