Метод ReportColor.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
Параметры
- value
Тип: System.String
The string value.
- allowTransparency
Тип: System.Boolean
Whether to allow transparency.
- reportColor
Тип: Microsoft.ReportingServices.OnDemandReportRendering.ReportColor%
[out] The report color.
Возвращаемое значение
Тип: System.Boolean
true if the attempt is successful; otherwise, false.
См. также
Справочник
Пространство имен Microsoft.ReportingServices.OnDemandReportRendering