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 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。