Udostępnij przez


Metoda ReportColor.TryParse (String, ReportColor%)

Próbuje zanalizować ciąg wartość ReportColor.

Przestrzeń nazw:  Microsoft.ReportingServices.OnDemandReportRendering
Zestaw:  Microsoft.ReportingServices.ProcessingCore (w Microsoft.ReportingServices.ProcessingCore.dll)

Składnia

'Deklaracja
Public Shared Function TryParse ( _
    value As String, _
    <OutAttribute> ByRef reportColor As ReportColor _
) As Boolean
'Użycie
Dim value As String
Dim reportColor As ReportColor
Dim returnValue As Boolean

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

Parametry

Wartość zwracana

Typ: System.Boolean
TRUE Jeśli próba zakończy się pomyślnie; w przeciwnym razie false.