Partager via


Méthode EnumProperty.Validate

Cette API prend en charge l'infrastructure SQL Server 2012 et n'est pas destinée à être utilisée directement à partir de votre code.

Validates the enumeration property using the specified component and value.

Espace de noms :  Microsoft.ReportingServices.RdlObjectModel
Assembly :  Microsoft.ReportingServices.Designer.Controls (en Microsoft.ReportingServices.Designer.Controls.dll)

Syntaxe

'Déclaration
Public Sub Validate ( _
    component As Object, _
    value As Integer _
)
'Utilisation
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
)

Paramètres

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

Voir aussi

Référence

EnumProperty Classe

Espace de noms Microsoft.ReportingServices.RdlObjectModel