共用方式為


EnumProperty.Validate 方法

此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。

Validates the enumeration property using the specified component and value.

命名空間:  Microsoft.ReportingServices.RdlObjectModel
組件:  Microsoft.ReportingServices.Designer.Controls (在 Microsoft.ReportingServices.Designer.Controls.dll 中)

語法

'宣告
Public Sub Validate ( _
    component As Object, _
    value As Integer _
)
'用途
Dim instance As EnumProperty 
Dim component As Object 
Dim value As Integer

instance.Validate(component, value)
public void Validate(
    Object component,
    int value
)
public:
void Validate(
    Object^ component, 
    int value
)
member Validate : 
        component:Object * 
        value:int -> unit
public function Validate(
    component : Object, 
    value : int
)

參數

  • component
    型別:System.Object
    The component of the enumeration property.
  • value
    型別:System.Int32
    The value of the enumeration property.

請參閱

參考

EnumProperty 類別

Microsoft.ReportingServices.RdlObjectModel 命名空間