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
- key
Type: System.String
- value
Type: System.String
Implements
IAttributeAccessor.SetAttribute(String, String)