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

File.File members

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

Constructor for the File class

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

Syntax

public File(string src, string folder, bool overwrite, IEnumerable<WebPart> webParts, IDictionary<String, String> properties, ObjectSecurity security, FileLevel level)

Parameters

src

  Type: System.String
  Source name of the file

folder

  Type: System.String
  Targer Folder of the file

overwrite

  Type: System.Boolean
  Overwrite flag of the file

webParts

  Type: System.Collections.Generic.IEnumerable<OfficeDevPnP.Core.Framework.Provisioning.Model.WebPart>
  Webparts in the file

properties

  Type: System.Collections.Generic.IDictionary<System.String, System.String>
  Properties of the file

(optional) security

  Type: OfficeDevPnP.Core.Framework.Provisioning.Model.ObjectSecurity
  Security Rules of the file

(optional) level

  Type: OfficeDevPnP.Core.Framework.Provisioning.Model.FileLevel
  Level status for the file

See also

© 2018 Microsoft