StyleBase.SetStyle Method
Sets a specified style property within a style collection to the given value.
Namespace: Microsoft.ReportingServices.ReportRendering
Assembly: Microsoft.ReportingServices.ProcessingCore (in Microsoft.ReportingServices.ProcessingCore.dll)
Syntax
'Declaration
Public Sub SetStyle ( _
style As Style..::..StyleName, _
value As Object, _
isShared As Boolean _
)
'Usage
Dim instance As StyleBase
Dim style As Style..::..StyleName
Dim value As Object
Dim isShared As Boolean
instance.SetStyle(style, value, isShared)
public void SetStyle(
Style..::..StyleName style,
Object value,
bool isShared
)
public:
void SetStyle(
Style..::..StyleName style,
Object^ value,
bool isShared
)
member SetStyle :
style:Style..::..StyleName *
value:Object *
isShared:bool -> unit
public function SetStyle(
style : Style..::..StyleName,
value : Object,
isShared : boolean
)
Parameters
- style
Type: Microsoft.ReportingServices.ReportRendering.Style.StyleName
The name of the style to set.
- value
Type: System.Object
The value for the style property.
- isShared
Type: System.Boolean
Indicates whether style should be added to the SharedProperties or NonSharedProperties collection.