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

Directory Class

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

Defines a Directory element, to describe a folder in the current repository that will be used to upload files into the target Site

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

Inheritance Hierarchy

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

Syntax

public class Directory: BaseModel, IEquatable<Directory>

Constructors

NameDescription
Directory()Constructor for Directory class
Directory(String, String, Boolean, FileLevel, Boolean, String, String, String, ObjectSecurity)Constructor for Directory class

Properties

NameDescription
ExcludedExtensionsThe file Extensions to exclude while uploading the Directory
FolderThe TargetFolder of the Directory
IncludedExtensionsThe file Extensions to include while uploading the Directory
LevelThe Level status for the files in the Directory
MetadataMappingFileThe file path of JSON mapping file with metadata for files to upload in the Directory
OverwriteThe Overwrite flag for the files in the Directory
RecursiveDefines whether to recursively browse through all the child folders of the Directory
SecurityDefines the Security rules for the File
SrcThe Src of the Directory

Methods

NameDescription
Equals(Object)Compares object with Directory
Equals(Directory)Compares Directory object based on ExcludedExtensions, Folder, IncludedExtensions, Level, MetaDataMappingFile, Overwrite, Recursive, Src and Security properties.
GetHashCode()Gets the hash code

See also

© 2018 Microsoft