Class NavigationNode
Defines a Navigation Node for the Structural Navigation of a site
Inheritance
System.Object
NavigationNode
Assembly: PnP.Framework.dll
Syntax
public class NavigationNode : BaseModel, IProvisioningTemplateDescendant
Constructors
Constructor for NavigationNode class
Declaration
Properties
Defines whether the Navigation Node for the Structural Navigation targets an External resource
Declaration
public Boolean IsExternal { get; set; }
Property Value
A collection of navigation nodes children of the current NavigatioNode
Declaration
public NavigationNodeCollection NavigationNodes { get; }
Property Value
Defines the Title of a Navigation Node
Declaration
public String Title { get; set; }
Property Value
Defines the Url of a Navigation Node
Declaration
public String Url { get; set; }
Property Value
Methods
Compares NavigationNode object based on isExternal, NavigationNodes, Title and Url properties.
Declaration
public bool Equals(NavigationNode other)
Parameters
Returns
System.Boolean
true if the NavigationNode object is equal to the current object; otherwise, false.
|
Compares object with NavigationNode
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
Object that represents NavigationNode
|
Returns
System.Boolean
true if the current object is equal to the NavigationNode
|
Declaration
public override int GetHashCode()
Returns
System.Int32
Returns HashCode
|
Extension Methods