Table of contents
TOC
Collapse the table of content
Expand the table of content

DefaultDocument Class

SharePoint Dev Documents|Last Updated: 6/19/2017
|
1 Contributor

A default document for a Document Set

Namespace:OfficeDevPnP.Core.Framework.Provisioning.Model
Assembly: OfficeDevPnP.Core.dll

Inheritance Hierarchy

System.Object
OfficeDevPnP.Core.Framework.Provisioning.Model.BaseModel

Syntax

public class DefaultDocument: BaseModel, IEquatable<DefaultDocument>

Constructors

NameDescription
DefaultDocument()A default document for a Document Set

Properties

NameDescription
ContentTypeIdThe value of the ContentTypeID of the Default Document for the Document Set
FileSourcePathThe path of the file to upload as a Default Document for the Document Set
NameThe name (including the relative path) of the Default Document for a Document Set

Methods

NameDescription
Equals(Object)Compares object with DefaultDocument
Equals(DefaultDocument)Compares DefaultDocument object based on Name, ContentTypeID and FileSourcePath.
GetHashCode()Gets the hash code

See also

© 2018 Microsoft