Search Results for

    Show / Hide Table of Contents

    Class GlobalNavigation

    The Global Navigation settings for the Provisioning Template

    Inheritance
    System.Object
    BaseModel
    BaseNavigationKind
    GlobalNavigation
    Inherited Members
    BaseNavigationKind.StructuralNavigation
    BaseNavigationKind.ManagedNavigation
    BaseNavigationKind.Equals(BaseNavigationKind)
    BaseModel.ParentTemplate
    Namespace: PnP.Framework.Provisioning.Model
    Assembly: PnP.Framework.dll
    Syntax
    public class GlobalNavigation : BaseNavigationKind, IProvisioningTemplateDescendant

    Constructors

    GlobalNavigation()

    Constructor for GlobalNavigation class

    Declaration
    public GlobalNavigation()

    GlobalNavigation(GlobalNavigationType, StructuralNavigation, ManagedNavigation)

    Constructor for GlobalNavigation class

    Declaration
    public GlobalNavigation(GlobalNavigationType navigationType, StructuralNavigation structuralNavigation = null, ManagedNavigation managedNavigation = null)
    Parameters
    GlobalNavigationType navigationType

    Global Navigation Type

    StructuralNavigation structuralNavigation

    StructuralNavigation object

    ManagedNavigation managedNavigation

    ManagedNavigation object

    Properties

    NavigationType

    Defines the type of Global Navigation

    Declaration
    public GlobalNavigationType NavigationType { get; set; }
    Property Value
    GlobalNavigationType

    Methods

    Equals(GlobalNavigation)

    Compares GlobalNavigation object based on BaseNavigationKind object and NavigationType property.

    Declaration
    public bool Equals(GlobalNavigation other)
    Parameters
    GlobalNavigation other

    GlobalNavigation object

    Returns
    System.Boolean

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

    Equals(Object)

    Compares object with GlobalNavigation

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

    Object that represents GlobalNavigation

    Returns
    System.Boolean

    true if the current object is equal to the GlobalNavigation

    Overrides
    BaseNavigationKind.Equals(Object)

    GetHashCode()

    Gets the hash code

    Declaration
    public override int GetHashCode()
    Returns
    System.Int32

    Returns HashCode

    Overrides
    BaseNavigationKind.GetHashCode()

    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