Share via


WebPart.IAttributeAccessor.GetAttribute method

IAttributeAccessor.GetAttribute

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaração
Private Function GetAttribute ( _
    key As String _
) As String Implements IAttributeAccessor.GetAttribute
'Uso
Dim instance As WebPart
Dim key As String
Dim returnValue As String

returnValue = CType(instance, IAttributeAccessor).GetAttribute(key)
stringIAttributeAccessor.GetAttribute(
    string key
)

Parâmetros

Valor retornado

Type: System.String
Retorna String.

Implements

IAttributeAccessor.GetAttribute(String)

Ver também

Referência

WebPart class

WebPart members

Microsoft.SharePoint.WebPartPages namespace