United States (English)
Sign in
Home
Library
Learn
Samples
Downloads
Support
Community
Forums
MSDN Library
Office and SharePoint development
SharePoint general development
SharePoint 2013
Reference
.NET server API reference
Core class library
Microsoft.SharePoint.WebPartPages
WebPart class
WebPart methods
IAttributeAccessor.GetAttribute method
IAttributeAccessor.SetAttribute method
AddParsedSubObject method
AfterDeserialize method
CanRunAt method
CreateWebPartMenu method
DataBind method
Dispose method
EnsureInterfaces method
FindControl method
GetCustomBuilder method
GetData method
GetDesignTimeFooter method
GetDesignTimeHeader method
GetInitEventArgs method
GetRequiresData method
GetRouteUrl method
GetThemedImages method
GetThemedLocalizedImages method
GetToolParts method
IConnectionData.GetData method
IConnectionData.GetRequiresData method
LoadResource method
LoadViewState method
NotifyWorkItemComplete method
OnDataBinding method
OnInit method
OnPreRender method
OnUnload method
PartCacheInvalidate method
PartCacheRead method
PartCacheWrite method
PartCommunicationConnect method
PartCommunicationInit method
PartCommunicationMain method
RegisterInterface method
RegisterWorkItem method
RegisterWorkItemCallback method
Render method
RenderControl method
RenderWebPart method
RenderWorkItemTimeout method
ReplaceTokens method
RequiresWebPartClientScript method
SetWebPartPageComponent method
ShouldSerializeAllowConnect method
ShouldSerializeAllowEdit method
ShouldSerializeAllowHide method
ShouldSerializeAllowMinimize method
ShouldSerializeAllowRemove method
ShouldSerializeAllowZoneChange method
ShouldSerializeConnectionID method
ShouldSerializeConnections method
ShouldSerializeDescription method
ShouldSerializeDetailLink method
ShouldSerializeDir method
ShouldSerializeExportControlledProperties method
ShouldSerializeFrameState method
ShouldSerializeFrameType method
ShouldSerializeHeight method
ShouldSerializeHelpLink method
ShouldSerializeHelpMode method
ShouldSerializeID method
ShouldSerializeIsIncluded method
ShouldSerializeIsIncludedFilter method
ShouldSerializeIsVisible method
ShouldSerializeMissingAssembly method
ShouldSerializePartImageLarge method
ShouldSerializePartImageSmall method
ShouldSerializePartOrder method
ShouldSerializeTitle method
ShouldSerializeWidth method
ShouldSerializeZoneID method
This topic has not yet been rated
-
Rate this topic
WebPart
.
IAttributeAccessor
.
SetAttribute method
SharePoint 2013
Other Versions
SharePoint 2010
IAttributeAccessor.SetAttribute
Namespace:
Microsoft.SharePoint.WebPartPages
Assembly:
Microsoft.SharePoint
(in Microsoft.SharePoint.dll)
Syntax
C#
VB
Copy
void
IAttributeAccessor.SetAttribute(
string
key,
string
value )
Parameters
key
Type:
System.String
value
Type:
System.String
Implements
IAttributeAccessor.SetAttribute(String, String)
See also
Reference
WebPart class
WebPart members
Microsoft.SharePoint.WebPartPages namespace
Did you find this helpful?
Yes
No
Not accurate
Not enough depth
Need more code examples
Tell us more...
(
1500
characters remaining)
Community Additions
ADD