WebPart.IAttributeAccessor.GetAttribute Method
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Private Function GetAttribute ( _
key As String _
) As String Implements IAttributeAccessor.GetAttribute
'Usage
Dim instance As WebPart
Dim key As String
Dim returnValue As String
returnValue = CType(instance, IAttributeAccessor).GetAttribute(key)
stringIAttributeAccessor.GetAttribute(
string key
)
Parameters
- key
Type: System.String
Return Value
Type: System.String
Returns String.
Implements
IAttributeAccessor.GetAttribute(String)