Partager via


WebPart.IAttributeAccessor.SetAttribute - Méthode

IAttributeAccessor.SetAttribute

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

Syntaxe

'Déclaration
Private Sub SetAttribute ( _
    key As String, _
    value As String _
) Implements IAttributeAccessor.SetAttribute
'Utilisation
Dim instance As WebPart
Dim key As String
Dim value As String

CType(instance, IAttributeAccessor).SetAttribute(key, value)
void IAttributeAccessor.SetAttribute(
    string key,
    string value
)

Paramètres

Implémentations

IAttributeAccessor.SetAttribute(String, String)

Voir aussi

Référence

WebPart classe

WebPart - Membres

Microsoft.SharePoint.WebPartPages - Espace de noms