Search Results for

    Show / Hide Table of Contents

    Class Drive

    Defines a Drive object

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

    Constructors

    Drive()

    Declaration
    public Drive()

    Properties

    DriveRoots

    Defines a collection of DriveRoot items

    Declaration
    public DriveRootCollection DriveRoots { get; }
    Property Value
    DriveRootCollection

    Methods

    Equals(Drive)

    Compares Drive object based on DriveRoots

    Declaration
    public bool Equals(Drive other)
    Parameters
    Drive other

    Drive Class object

    Returns
    System.Boolean

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

    Equals(Object)

    Compares object with Drive class

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

    Object that represents Drive

    Returns
    System.Boolean

    Checks whether object is Drive 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