Share via


Style.IsAvailableStyle Method

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Gets a value that indicates whether the specified style is available.

Namespace:  Microsoft.ReportingServices.OnDemandReportRendering
Assembly:  Microsoft.ReportingServices.ProcessingCore (in Microsoft.ReportingServices.ProcessingCore.dll)

Syntax

'Declaration
Protected Overridable Function IsAvailableStyle ( _
    styleName As StyleAttributeNames _
) As Boolean
'Usage
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

Parameters

Return Value

Type: System.Boolean
true if the specified style is available; otherwise, false.

See Also

Reference

Style Class

Microsoft.ReportingServices.OnDemandReportRendering Namespace