TryParse 方法 (String, 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, _
<OutAttribute> ByRef reportColor As ReportColor _
) As Boolean
用法
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
参数
- value
类型:System. . :: . .String
- reportColor
类型:Microsoft.ReportingServices.OnDemandReportRendering. . :: . .ReportColor%
[out] The report color.
返回值
类型:System. . :: . .Boolean
true if the attempt is successful; otherwise, false.