此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。
Gets a value that indicates whether the specified style is available.
命名空間: Microsoft.ReportingServices.OnDemandReportRendering
組件: Microsoft.ReportingServices.ProcessingCore (在 Microsoft.ReportingServices.ProcessingCore.dll 中)
語法
'宣告
Protected Overridable Function IsAvailableStyle ( _
styleName As StyleAttributeNames _
) As Boolean
'用途
Dim styleName As StyleAttributeNames
Dim returnValue As Boolean
returnValue = Me.IsAvailableStyle(styleName)
protected virtual bool IsAvailableStyle(
StyleAttributeNames styleName
)
protected:
virtual bool IsAvailableStyle(
StyleAttributeNames styleName
)
abstract IsAvailableStyle :
styleName:StyleAttributeNames -> bool
override IsAvailableStyle :
styleName:StyleAttributeNames -> bool
protected function IsAvailableStyle(
styleName : StyleAttributeNames
) : boolean
參數
- styleName
型別:Microsoft.ReportingServices.OnDemandReportRendering.StyleAttributeNames
The style attribute to check.
傳回值
型別:System.Boolean
true if the specified style is available; otherwise, false.