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 Returns 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

页首

方法

  名称 说明
公共方法 Clone Clones the StyleProperties object.
公共方法 ContainStyleProperty Indicates whether this collection contains a named style property.
公共方法 Equals (从 Object 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetType (从 Object 继承。)
受保护方法 MemberwiseClone (从 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) 成员都是线程安全的。不保证所有实例成员都是线程安全的。