ISharePointProjectItemType.IsValid 屬性

取得專案項目是否有效。

命名空間:  Microsoft.VisualStudio.SharePoint
組件:  Microsoft.VisualStudio.SharePoint (在 Microsoft.VisualStudio.SharePoint.dll 中)

語法

'宣告
ReadOnly Property IsValid As Boolean
    Get
bool IsValid { get; }

屬性值

型別:System.Boolean
如果專案項目有效則為 True,否則為 false。

備註

如果 SharePoint 專案可以找到實作對應專案項目型別提供者的元件,以及如果提供者可以成功地建立並初始化型別,則專案項目類型會被視為是有效的。

.NET Framework 安全性

請參閱

參考

ISharePointProjectItemType 介面

Microsoft.VisualStudio.SharePoint 命名空間