共用方式為


StyleBase.SetStyle(Style+StyleName, Object, Boolean) Method

Definition

Sets a specified style property within a style collection to the given value.

public:
 void SetStyle(Microsoft::ReportingServices::ReportRendering::Style::StyleName style, System::Object ^ value, bool isShared);
public void SetStyle (Microsoft.ReportingServices.ReportRendering.Style.StyleName style, object value, bool isShared);
member this.SetStyle : Microsoft.ReportingServices.ReportRendering.Style.StyleName * obj * bool -> unit
Public Sub SetStyle (style As Style.StyleName, value As Object, isShared As Boolean)

Parameters

style
Style.StyleName

The name of the style to set.

value
Object

The value for the style property.

isShared
Boolean

Indicates whether style should be added to the SharedProperties or NonSharedProperties collection.

Applies to