WebPart.IAttributeAccessor.GetAttribute 方法
IAttributeAccessor.GetAttribute
命名空间: Microsoft.SharePoint.WebPartPages
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
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
类型:System.String
返回值
类型:System.String
返回 String。
实现
IAttributeAccessor.GetAttribute(String)