共用方式為


SPNavigationNode.Id Property

Gets an integer identifier for the naviagation node.

Namespace:  Microsoft.SharePoint.Navigation
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
<ClientCallablePropertyAttribute(SetProperty := False)> _
Public ReadOnly Property Id As Integer
    Get
'Usage
Dim instance As SPNavigationNode
Dim value As Integer

value = instance.Id
[ClientCallablePropertyAttribute(SetProperty = false)]
public int Id { get; }

Property Value

Type: System.Int32
The identifier for the node.

Remarks

The value returned by this property can be used to later retrieve the node by calling the SPNavigation.GetNodeById(Int32) method.

See Also

Reference

SPNavigationNode Class

SPNavigationNode Members

Microsoft.SharePoint.Navigation Namespace

ParentId