TryParse 메서드 (String, Boolean, ReportSize)
Attempts to parse a string value into a ReportSize.
네임스페이스: Microsoft.ReportingServices.OnDemandReportRendering
어셈블리: Microsoft.ReportingServices.ProcessingCore.dll의 Microsoft.ReportingServices.ProcessingCore
구문
‘선언
Public Shared Function TryParse ( _
value As String, _
allowNegative As Boolean, _
<OutAttribute> ByRef reportSize As ReportSize _
) As Boolean
‘사용 방법
Dim value As String
Dim allowNegative As Boolean
Dim reportSize As ReportSize
Dim returnValue As Boolean
returnValue = ReportSize.TryParse(value, _
allowNegative, reportSize)
public static bool TryParse(
string value,
bool allowNegative,
out ReportSize reportSize
)
public:
static bool TryParse(
String^ value,
bool allowNegative,
[OutAttribute] ReportSize^% reportSize
)
static member TryParse :
value:string *
allowNegative:bool *
reportSize:ReportSize byref -> bool
public static function TryParse(
value : String,
allowNegative : boolean,
reportSize : ReportSize
) : boolean
매개 변수
- value
형식: System. . :: . .String
- allowNegative
형식: System. . :: . .Boolean
Whether to allow a negative value in value.
- reportSize
형식: Microsoft.ReportingServices.OnDemandReportRendering. . :: . .ReportSize%
[out] the parsed report size.
반환 값
형식: System. . :: . .Boolean
true if the attempt is successful; otherwise, false.