Share via


SP へFileCreationInformation オブジェクト (sp.js)

FileCollection.Addメソッドを使用してファイルを作成するときに設定できるプロパティを表します。

**適用対象:**apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

var object = new SP.FileCreationInformation()

メンバー

FileCreationInformationオブジェクトでは、次のメンバーがあります。

Constructor

FileCreationInformationオブジェクトでは、次のコンスがあります。

コンストラクター

説明

FileCreationInformation

Initializes a new instance of the SP.FileCreationInformation object.

プロパティ

FileCreationInformationオブジェクトでは、次のプロパティがあります。

プロパティ

説明

コンテンツ

The binary content of the file.

上書きします。

Indicates whether to overwrite an existing file with the same name and in the same location as the one being added.

typeId

url

The URL of the file.