Search Results for

    Show / Hide Table of Contents

    Class DriveFile

    Defines a DriveFile object

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

    Constructors

    DriveFile()

    Declaration
    public DriveFile()

    Properties

    Name

    The Name of the target DriveFile

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

    Overwrite

    Defines whether to Overwrite the target DriveFile

    Declaration
    public bool Overwrite { get; set; }
    Property Value
    System.Boolean

    Src

    The Source of the target DriveFile

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

    Methods

    Equals(DriveFile)

    Compares DriveFile object based on Name, Src, and Overwrite

    Declaration
    public bool Equals(DriveFile other)
    Parameters
    DriveFile other

    User DriveFile object

    Returns
    System.Boolean

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

    Equals(Object)

    Compares object with DriveFile class

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

    Object that represents DriveFile

    Returns
    System.Boolean

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