Class DefaultDocument
A default document for a Document Set
Inherited Members
Namespace: PnP.Framework.Provisioning.Model
Assembly: PnP.Framework.dll
Syntax
public class DefaultDocument : BaseModel, IProvisioningTemplateDescendant
Properties
ContentTypeId
The value of the ContentTypeID of the Default Document for the Document Set
Declaration
public String ContentTypeId { get; set; }
Property Value
String
|
FileSourcePath
The path of the file to upload as a Default Document for the Document Set
Declaration
public String FileSourcePath { get; set; }
Property Value
String
|
Name
The name (including the relative path) of the Default Document for a Document Set
Declaration
public String Name { get; set; }
Property Value
String
|
Methods
Equals(DefaultDocument)
Compares DefaultDocument object based on Name, ContentTypeID and FileSourcePath.
Declaration
public bool Equals(DefaultDocument other)
Parameters
DefaultDocument
other
DefaultDocument object |
Returns
System.Boolean
true if the DefaultDocument object is equal to the current object; otherwise, false. |
Equals(Object)
Compares object with DefaultDocument
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
Object that represents DefaultDocument |
Returns
System.Boolean
true if the current object is equal to the DefaultDocument |
GetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
System.Int32
Returns HashCode |