Share via


WebPart.System.Web.UI.IAttributeAccessor.SetAttribute, méthode (Microsoft.SharePoint.WebPartPages)

Designates an attribute and its value to assign to the Web Part.

Espace de noms : Microsoft.SharePoint.WebPartPages
Assembly : Microsoft.SharePoint (dans microsoft.sharepoint.dll)

Syntaxe

'Déclaration
'Utilisation

Paramètres

  • key
    A String that contains the name of the Web Part attribute.
  • value
    A String containing the value of the specified attribute.

Voir aussi

Référence

WebPart, classe
Membres WebPart
Microsoft.SharePoint.WebPartPages, espace de noms