Share via


SPFileCollectionAddParameters members

Encapsulates options to use when adding an SPFile object to an SPFileCollection collection.

The SPFileCollectionAddParameters type exposes the following members.

Constructors

  Name Description
Public method SPFileCollectionAddParameters Initializes a new instance of the SPFileCollectionAddParameters class.

Top

Properties

  Name Description
Public property AutoCheckoutOnInvalidData Gets or sets a value that specifies whether to check the file out immediately after saving it if it has invalid data.
Public property CheckInComment Gets or sets the check-in comment for the file.
Public property CheckRequiredFields Gets or sets a value that specifies whether to verify that required fields for this file have been assigned values.
Public property FileFormatMetaInfo Gets or sets the file format metainfo for the new file.
Public property FileSizeToSave Gets or sets the amount of data to read from the stream and save, in bytes.
Public property OutETag Gets an ETag that identifies this version of the file.
Public property OutVirusCheckMessage Gets a message with information about a virus scan performed on the file.
Public property OutVirusCheckStatus Gets a value that describes the status of virus-scanning on the file.
Public property Overwrite Gets or sets a value that specifies whether to overwrite a file that has the same name.
Public property RequireWebFilePermissions Indicates whether adding Web files requires the Add and Customize Web Pages permission.
Public property ThrowOnVirusFound Gets or sets a value that indicates whether an exception should be thrown if a virus is found but not removed.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

See also

Reference

SPFileCollectionAddParameters class

Microsoft.SharePoint namespace