共用方式為


StyleProperties 類別

Represents a collection of styles. This class cannot be inherited.

繼承階層

System.Object
  Microsoft.ReportingServices.ReportRendering.StyleProperties

命名空間:  Microsoft.ReportingServices.ReportRendering
組件:  Microsoft.ReportingServices.ProcessingCore (在 Microsoft.ReportingServices.ProcessingCore.dll 中)

語法

'宣告
Public NotInheritable Class StyleProperties _
    Implements ICloneable
'用途
Dim instance As StyleProperties
public sealed class StyleProperties : ICloneable
public ref class StyleProperties sealed : ICloneable
[<SealedAttribute>]
type StyleProperties =  
    class 
        interface ICloneable 
    end
public final class StyleProperties implements ICloneable

StyleProperties 型別公開下列成員。

屬性

  名稱 說明
公用屬性 Count Gets the number of style properties.
公用屬性 Item[Int32] Gets the value of the style located in the collection at the position indicated by the index. In C#, this property is the indexer for the StyleProperties class.
公用屬性 Item[String] Gets the specified style from the collection.
公用屬性 Keys Gets a collection of style property keys.

上層

方法

  名稱 說明
公用方法 Clone Clones the StyleProperties object.
公用方法 ContainStyleProperty Indicates whether this collection contains a named style property.
公用方法 Equals (繼承自 Object。)
公用方法 GetHashCode (繼承自 Object。)
公用方法 GetType (繼承自 Object。)
公用方法 ToString (繼承自 Object。)

上層

備註

There are two StyleProperties classes associated with each style: one class containing those properties that are shared across all report instances, and one containing those that are unique to this particular instance.

The objects referenced in the StyleProperties class are the same as those in the Style class, however the Style class differentiates between shared and non-shared properties.

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。

請參閱

參考

Microsoft.ReportingServices.ReportRendering 命名空間