Condividi tramite


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

Return Value

Type: System.String
Returns String.

Implements

IAttributeAccessor.GetAttribute(String)

See Also

Reference

WebPart Class

WebPart Members

Microsoft.SharePoint.WebPartPages Namespace