Library Specification Object Model Reference

ILibrary.CreateSurveyAsset Method (String, String, Stream, ITopic)

Creates a local survey asset in the draft stage and the specified topic. If an MDD is provided, then it is converted to an MZD.

ISurveyAsset CreateSurveyAsset(
   string name,
   string mimetype,
   Stream stream,
   ITopic topic
);

Parameters

name
The name to give the asset.
mimetype
The mime type of the asset.
stream
The IO stream of the asset. Implementing methods are responsible for closing the stream.
topic
The topic this asset is to belong to.

Return Value

An ISurveyAsset.

See Also

ILibrary Interface | Spss.Dimensions.Library.Specification Namespace | ILibrary.CreateSurveyAsset Overload List