BaseRESTServiceSetObjectInternal Method |
Deletes given objects and returns it as a result.
Namespace: CMS.WebServicesAssembly: CMS.WebServices (in CMS.WebServices.dll) Version: 9.0.0
Syntax protected Stream SetObjectInternal(
GeneralizedInfo info,
string objectType,
Stream stream,
bool isCreate,
string siteName
)
Parameters
- info
- Type: CMS.DataEngineGeneralizedInfo
Info object to update/create - objectType
- Type: SystemString
Type of the object. Used for security check in case of non-existing object. - stream
- Type: System.IOStream
Data of the object - isCreate
- Type: SystemBoolean
If true new object will be created - siteName
- Type: SystemString
Name of the site to which the object will be assigned (if null, original setting from stream data is preserved)
Return Value
Type:
StreamSee Also