共用方式為


SPElementDefinition.WssPrefix property

取得要一起使用的命名空間 Manager XPath 查詢中使用SharePoint Foundation前置詞。

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Protected Shared ReadOnly Property WssPrefix As String
    Get
'用途
Dim value As String

value = SPElementDefinition.WssPrefix
protected static string WssPrefix { get; }

Property value

Type: System.String
內含SharePoint Foundation字首的字串。

請參閱

參照

SPElementDefinition class

SPElementDefinition members

Microsoft.SharePoint.Administration namespace