ItemSpecificationBuilder.AddContentSpecification Method

MultiArchive SDK .NET

Collapse image Expand Image Copy image CopyHover image

[This is preliminary documentation and is subject to change.]

Overload List

  Name Description
Public method AddContentSpecification(FileSystemInfo)
Method that creates a new ContentSpecification based on a physical file on the local filesystem.
Public method AddContentSpecification(FileSystemInfo, String)
Method that creates a new ContentSpecification based on a physical file on the local filesystem.

If a mimetype is specified in the parameters, the content file will be saved in MultiArchive with this mimetype instead of the mimetype of the actual physical file.
Public method AddContentSpecification(Stream, String, String, String)
Method that creates a new ContentSpecificaiton based on a stream specified

If a mimetype is specified in the parameters, the content file will be saved in MultiArchive with this mimetype instead of the mimetype of the actual physical file.
Public method AddContentSpecification(String, String, String, String)
Method that creates a new ContentSpecification based on the content of the contentValue-string, and adds it to the local list of ContentSpecifications.

If a mimetype is specified in the parameters, the content file will be saved in MultiArchive with this mimetype instead of the mimetype of the actual physical file.

See Also