Share via


EnumProperty.Validate Method

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Validates the enumeration property using the specified component and value.

Namespace:  Microsoft.ReportingServices.RdlObjectModel
Assembly:  Microsoft.ReportingServices.Designer.Controls (in Microsoft.ReportingServices.Designer.Controls.dll)

Syntax

'Declaration
Public Sub Validate ( _
    component As Object, _
    value As Integer _
)
'Usage
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
)

Parameters

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

See Also

Reference

EnumProperty Class

Microsoft.ReportingServices.RdlObjectModel Namespace