Metoda ReportColor.TryParse (String, Boolean, 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, _
allowTransparency As Boolean, _
<OutAttribute> ByRef reportColor As ReportColor _
) As Boolean
'Użycie
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
Parametry
- value
Typ: System.String
Wartość ciąg.
- allowTransparency
Typ: System.Boolean
Czy zezwalać na przezroczystość.
- reportColor
Typ: Microsoft.ReportingServices.OnDemandReportRendering.ReportColor%
[Brak] Kolor raportu.
Wartość zwracana
Typ: System.Boolean
TRUE Jeśli próba zakończy się pomyślnie; w przeciwnym razie false.