StyleBase.SetStyle Method
Sets a specified style property within a style collection to the given value.
命名空間: Microsoft.ReportingServices.ReportRendering
組件: Microsoft.ReportingServices.ProcessingCore (in microsoft.reportingservices.processingcore.dll)
語法
'宣告
Public Sub SetStyle ( _
style As StyleName, _
value As Object, _
isShared As Boolean _
)
public void SetStyle (
StyleName style,
Object value,
bool isShared
)
public:
void SetStyle (
StyleName style,
Object^ value,
bool isShared
)
public void SetStyle (
StyleName style,
Object value,
boolean isShared
)
public function SetStyle (
style : StyleName,
value : Object,
isShared : boolean
)
參數
- style
The name of the style to set.
- value
The value for the style property.
- isShared
Indicates whether style should be added to the SharedProperties or NonSharedProperties collection.
備註
新增:2005 年 12 月 5 日
執行緒安全性
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
平台
開發平台
如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。
目標平台
如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。
請參閱
參考
StyleBase Class
StyleBase Members
Microsoft.ReportingServices.ReportRendering Namespace