Click or drag to resize
BaseRESTServiceGetObjectByNameInternal Method (String, String, String, Boolean)
Returns object of given type with specified name from specified site.

Namespace: CMS.WebServices
Assembly: CMS.WebServices (in CMS.WebServices.dll) Version: 13.0.131
Syntax
C#
protected GeneralizedInfo GetObjectByNameInternal(
	string objectType,
	string siteName,
	string name,
	bool binary
)

Parameters

objectType
Type: SystemString
Object type of the object
siteName
Type: SystemString
Name of the site (if nothing is specified, global objects are returned)
name
Type: SystemString
Code name of the object
binary
Type: SystemBoolean
If true, binary data are loaded

Return Value

Type: GeneralizedInfo
See Also