Click or drag to resize
BaseRESTService.GetObjectByNameInternal 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: System.String
Object type of the object
siteName
Type: System.String
Name of the site (if nothing is specified, global objects are returned)
name
Type: System.String
Code name of the object
binary
Type: System.Boolean
If true, binary data are loaded

Return Value

Type: GeneralizedInfo
See Also