Export (0) Print
Expand All

SPFileCollection.Add method (String, Stream, Boolean, Boolean, Stream, String)

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public SPFile Add(
	string urlOfFile,
	Stream file,
	bool overwrite,
	bool checkRequiredFields,
	Stream fileFormatMetaInfo,
	out string etagNew
)

Parameters

urlOfFile
Type: System.String
file
Type: System.IO.Stream
overwrite
Type: System.Boolean
checkRequiredFields
Type: System.Boolean
fileFormatMetaInfo
Type: System.IO.Stream
etagNew
Type: System.String

Return value

Type: Microsoft.SharePoint.SPFile
Show:
© 2015 Microsoft