DesignerOptionService.IDesignerOptionService.SetOptionValue Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Définit la valeur d’une option définie dans ce package.
virtual void System.ComponentModel.Design.IDesignerOptionService.SetOptionValue(System::String ^ pageName, System::String ^ valueName, System::Object ^ value) = System::ComponentModel::Design::IDesignerOptionService::SetOptionValue;
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The option value's Type cannot be statically discovered.")]
void IDesignerOptionService.SetOptionValue(string pageName, string valueName, object value);
void IDesignerOptionService.SetOptionValue(string pageName, string valueName, object value);
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The option value's Type cannot be statically discovered.")>]
abstract member System.ComponentModel.Design.IDesignerOptionService.SetOptionValue : string * string * obj -> unit
override this.System.ComponentModel.Design.IDesignerOptionService.SetOptionValue : string * string * obj -> unit
abstract member System.ComponentModel.Design.IDesignerOptionService.SetOptionValue : string * string * obj -> unit
override this.System.ComponentModel.Design.IDesignerOptionService.SetOptionValue : string * string * obj -> unit
Sub SetOptionValue (pageName As String, valueName As String, value As Object) Implements IDesignerOptionService.SetOptionValue
Paramètres
- pageName
- String
Page à laquelle l’option est liée.
- valueName
- String
Nom de la valeur d’option.
- value
- Object
Valeur de l’option.
Implémente
- Attributs
Exceptions
pageName ou valueName est null.