Search Results for

    Show / Hide Table of Contents

    Class StructuralNavigation

    Defines the Structural Navigation settings of a site

    Inheritance
    System.Object
    BaseModel
    StructuralNavigation
    Inherited Members
    BaseModel.ParentTemplate
    Namespace: PnP.Framework.Provisioning.Model
    Assembly: PnP.Framework.dll
    Syntax
    public class StructuralNavigation : BaseModel, IProvisioningTemplateDescendant

    Constructors

    StructuralNavigation()

    Constructor for StructuralNavigation class

    Declaration
    public StructuralNavigation()

    Properties

    NavigationNodes

    A collection of navigation nodes for the site

    Declaration
    public NavigationNodeCollection NavigationNodes { get; }
    Property Value
    NavigationNodeCollection

    RemoveExistingNodes

    Defines whether to remove existing nodes before creating those described through this element

    Declaration
    public Boolean RemoveExistingNodes { get; set; }
    Property Value
    Boolean

    Methods

    Equals(StructuralNavigation)

    Compares StructuralNavigation object based on NavigationNodes and RemoveExistingNodes properties.

    Declaration
    public bool Equals(StructuralNavigation other)
    Parameters
    StructuralNavigation other

    StructuralNavigation object

    Returns
    System.Boolean

    true if the StructuralNavigation object is equal to the current object; otherwise, false.

    Equals(Object)

    Compares object with StructuralNavigation

    Declaration
    public override bool Equals(object obj)
    Parameters
    System.Object obj

    Object that represents StructuralNavigation

    Returns
    System.Boolean

    true if the current object is equal to the StructuralNavigation

    GetHashCode()

    Gets the hash code

    Declaration
    public override int GetHashCode()
    Returns
    System.Int32

    Returns HashCode

    Extension Methods

    ValidationExtensions.ValidateNotNullOrEmpty<T>(T, String)
    ObjectExtensions.Set<TObject, T>(TObject, Expression<Func<TObject, T>>, T, Boolean, Boolean)
    ObjectExtensions.GetPublicInstancePropertyValue(Object, String)
    ObjectExtensions.GetPublicInstanceProperty(Object, String)
    ObjectExtensions.SetPublicInstancePropertyValue(Object, String, Object)
    Extensions.ToByteArray(Object)
    Back to top PnP Framework
    Generated by DocFX with Material UI
    spacer