WebPart.IAttributeAccessor.SetAttribute Method

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Private Sub SetAttribute ( _
    key As String, _
    value As String _
) Implements IAttributeAccessor.SetAttribute
'Usage
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
)

Parameters

Implements

IAttributeAccessor.SetAttribute(String, String)

See Also

Reference

WebPart Class

WebPart Members

Microsoft.SharePoint.WebPartPages Namespace