Search Results for

    Show / Hide Table of Contents

    Class DriveRoot

    Defines a Drive object

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

    Constructors

    DriveRoot()

    Declaration
    public DriveRoot()

    Properties

    DriveUrl

    The DriveUrl of the target DriveRoot

    Declaration
    public string DriveUrl { get; set; }
    Property Value
    System.String

    RootFolder

    Defines the RootFolder of a DriveRoot item

    Declaration
    public DriveRootFolder RootFolder { get; set; }
    Property Value
    DriveRootFolder

    Methods

    Equals(DriveRoot)

    Compares DriveRoot object based on DriveUrl, and RootFolder

    Declaration
    public bool Equals(DriveRoot other)
    Parameters
    DriveRoot other

    User DriveRoot object

    Returns
    System.Boolean

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

    Equals(Object)

    Compares object with DriveRoot class

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

    Object that represents DriveRoot

    Returns
    System.Boolean

    Checks whether object is DriveRoot class

    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