Compartilhar via


WebPart.IAttributeAccessor.SetAttribute method

IAttributeAccessor.SetAttribute

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaração
Private Sub SetAttribute ( _
    key As String, _
    value As String _
) Implements IAttributeAccessor.SetAttribute
'Uso
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
)

Parâmetros

Implements

IAttributeAccessor.SetAttribute(String, String)

Ver também

Referência

WebPart class

WebPart members

Microsoft.SharePoint.WebPartPages namespace