共用方式為


SPNavigationNodeCollection Members

Include Protected Members
Include Inherited Members

Provides a strongly typed collection of SPNavigationNode objects.

The SPNavigationNodeCollection type exposes the following members.

Properties

  Name Description
Public property Count Gets the number of SPNavigationNode objects in the collection. (Overrides SPBaseCollection.Count.)
Public property Item Gets the SPNavigationNode object at the specified index in the collection.
Public property Navigation Gets a navigation object (SPNavigation) for the collection.
Public property Parent Gets the parent node (SPNavigationNode) of the collection.
Public property UpgradedPersistedProperties (Inherited from SPAutoSerializingObject.)

Top

Methods

  Name Description
Public method Add Adds an SPNavigationNode object after the specified node in the collection.
Public method AddAsFirst Adds an SPNavigationNode object as the first node in the collection.
Public method AddAsLast Adds an SPNavigationNode object as the last node in the collection.
Public method CopyTo Copies all members of the collection to the specified array, starting at the specified destination array index.
Public method Delete Deletes the specified SPNavigationNode object from the collection.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator (Inherited from SPBaseCollection.)
Public method GetHashCode (Inherited from Object.)
Public method GetObjectData (Inherited from SPAutoSerializingObject.)
Public method GetType (Inherited from Object.)
Public method GetTypedEnumerator<T> (Inherited from SPBaseCollection.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnDeserialization (Inherited from SPAutoSerializingObject.)
Public method ToString (Inherited from Object.)
Protected method UpdateParent (Inherited from SPAutoSerializingObject.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method ICollection.CopyTo (Inherited from SPBaseCollection.)
Explicit interface implemetationPrivate property ICollection.IsSynchronized (Inherited from SPBaseCollection.)
Explicit interface implemetationPrivate property ICollection.SyncRoot (Inherited from SPBaseCollection.)

Top

See Also

Reference

SPNavigationNodeCollection Class

Microsoft.SharePoint.Navigation Namespace