다음을 통해 공유


TryParse 메서드 (String, Boolean, ReportColor)

Attempts to parse a string value to a ReportColor.

네임스페이스:  Microsoft.ReportingServices.OnDemandReportRendering
어셈블리:  Microsoft.ReportingServices.ProcessingCore(Microsoft.ReportingServices.ProcessingCore.dll)

구문

‘선언
Public Shared Function TryParse ( _
    value As String, _
    allowTransparency As Boolean, _
    <OutAttribute> ByRef reportColor As ReportColor _
) As Boolean
‘사용 방법
Dim value As String
Dim allowTransparency As Boolean
Dim reportColor As ReportColor
Dim returnValue As Boolean

returnValue = ReportColor.TryParse(value, _
    allowTransparency, reportColor)
public static bool TryParse(
    string value,
    bool allowTransparency,
    out ReportColor reportColor
)
public:
static bool TryParse(
    String^ value, 
    bool allowTransparency, 
    [OutAttribute] ReportColor^% reportColor
)
static member TryParse : 
        value:string * 
        allowTransparency:bool * 
        reportColor:ReportColor byref -> bool 
public static function TryParse(
    value : String, 
    allowTransparency : boolean, 
    reportColor : ReportColor
) : boolean

매개 변수

반환 값

유형: System. . :: . .Boolean
true if the attempt is successful; otherwise, false.