Freigeben über


EnumProperty.Validate-Methode

Diese API unterstützt die SQL Server 2012-Infrastruktur und ist nicht zur direkten Verwendung im Code bestimmt.

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
)

Parameter

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

Siehe auch

Verweis

EnumProperty Klasse

Microsoft.ReportingServices.RdlObjectModel-Namespace