Class DriveFile
Defines a DriveFile object
Inherited Members
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 |