EnumProperty 类

此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。

Represents a report enumeration property of a specific enumeration type.

继承层次结构

System.Object
  Microsoft.ReportingServices.RdlObjectModel.PropertyDefinition
    Microsoft.ReportingServices.RdlObjectModel.EnumProperty

命名空间:  Microsoft.ReportingServices.RdlObjectModel
程序集:  Microsoft.ReportingServices.Designer.Controls(在 Microsoft.ReportingServices.Designer.Controls.dll 中)

语法

声明
Public Class EnumProperty _
    Inherits PropertyDefinition _
    Implements IPropertyDefinition
用法
Dim instance As EnumProperty
public class EnumProperty : PropertyDefinition, 
    IPropertyDefinition
public ref class EnumProperty : public PropertyDefinition, 
    IPropertyDefinition
type EnumProperty =  
    class 
        inherit PropertyDefinition 
        interface IPropertyDefinition 
    end
public class EnumProperty extends PropertyDefinition implements IPropertyDefinition

EnumProperty 类型公开以下成员。

构造函数

  名称 说明
公共方法 EnumProperty Creates a new instance of the EnumProperty class.

页首

属性

  名称 说明
公共属性 Default Gets the default enumeration value.
公共属性 Name The property name. (从 PropertyDefinition 继承。)
公共属性 ValidValues Gets the valid values.

页首

方法

  名称 说明
公共方法 Equals (从 Object 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetType (从 Object 继承。)
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 ToString (从 Object 继承。)
公共方法 Validate Validates the enumeration property using the specified component and value.

页首

显式接口实现

  名称 说明
显式接口实现私有属性 IPropertyDefinition.Maximum Gets the maximum value of an enumeration property.
显式接口实现私有属性 IPropertyDefinition.Minimum Gets the minimum value of an enumeration property.
显式接口实现私有方法 IPropertyDefinition.Validate Validates the property definition of an enumeration.

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.ReportingServices.RdlObjectModel 命名空间