WebPart.IAttributeAccessor.SetAttribute 方法
IAttributeAccessor.SetAttribute
命名空间: Microsoft.SharePoint.WebPartPages
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Private Sub SetAttribute ( _
key As String, _
value As String _
) Implements IAttributeAccessor.SetAttribute
用法
Dim instance As WebPart
Dim key As String
Dim value As String
CType(instance, IAttributeAccessor).SetAttribute(key, value)
void IAttributeAccessor.SetAttribute(
string key,
string value
)
参数
- key
类型:System.String
- value
类型:System.String
实现
IAttributeAccessor.SetAttribute(String, String)