共用方式為


XPathExpression.Item 屬性

Gets the tree for the level given by the index. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。

命名空間:  Microsoft.SqlServer.Management.Sdk.Sfc
組件:  Microsoft.SqlServer.Management.Sdk.Sfc (在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)

語法

'宣告
Public Overridable ReadOnly Default Property Item ( _
    index As Integer _
) As XPathExpressionBlock 
    Get
'用途
Dim instance As XPathExpression 
Dim index As Integer 
Dim value As XPathExpressionBlock 

value = instance(index)
public virtual XPathExpressionBlock this[
    int index
] { get; }
public:
virtual property XPathExpressionBlock^ default[int index] {
    XPathExpressionBlock^ get (int index);
}
abstract Item : XPathExpressionBlock 
override Item : XPathExpressionBlock
JScript 支援索引屬性的使用,但不支援新屬性的宣告。

參數

屬性值

型別:Microsoft.SqlServer.Management.Sdk.Sfc.XPathExpressionBlock
The tree for the level given by the index.

請參閱

參考

XPathExpression 類別

Microsoft.SqlServer.Management.Sdk.Sfc 命名空間