WebPart.IAttributeAccessor.GetAttribute method
IAttributeAccessor.GetAttribute
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Private Function GetAttribute ( _
key As String _
) As String Implements IAttributeAccessor.GetAttribute
'用途
Dim instance As WebPart
Dim key As String
Dim returnValue As String
returnValue = CType(instance, IAttributeAccessor).GetAttribute(key)
stringIAttributeAccessor.GetAttribute(
string key
)
參數
- key
Type: System.String
傳回值
Type: System.String
傳回 String。
Implements
IAttributeAccessor.GetAttribute(String)