Condividi tramite


Metodo ReportColor.TryParse (String, ReportColor%)

Attempts to parse a string value to a ReportColor.

Spazio dei nomi  Microsoft.ReportingServices.OnDemandReportRendering
Assembly:  Microsoft.ReportingServices.ProcessingCore (in Microsoft.ReportingServices.ProcessingCore.dll)

Sintassi

'Dichiarazione
Public Shared Function TryParse ( _
    value As String, _
    <OutAttribute> ByRef reportColor As ReportColor _
) As Boolean
'Utilizzo
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

Parametri

Valore restituito

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

Vedere anche

Riferimento

ReportColor Classe

Overload TryParse

Spazio dei nomi Microsoft.ReportingServices.OnDemandReportRendering