SharePointCommandServices.GetProperties 方法
检索具有指定组件的属性的字典。
命名空间: Microsoft.VisualStudio.SharePoint.Commands
程序集: Microsoft.VisualStudio.SharePoint.Commands(在 Microsoft.VisualStudio.SharePoint.Commands.dll 中)
语法
声明
Public Shared Function GetProperties ( _
component As Object _
) As Dictionary(Of String, String)
public static Dictionary<string, string> GetProperties(
Object component
)
参数
- component
类型:System.Object
要为其检索字典的组件。
返回值
类型:System.Collections.Generic.Dictionary<String, String>
一个表示组件属性字典的对象。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。