Click or drag to resize
ContentProviderGetSingleNodeContent Method (String, String, String, Boolean, String, String, Boolean, Boolean)
Returns node content after using specified transformation.

Namespace: CMS.DocumentEngine.Web.UI
Assembly: CMS.DocumentEngine.Web.UI (in CMS.DocumentEngine.Web.UI.dll) Version: 13.0.131
Syntax
C#
public string GetSingleNodeContent(
	string siteName,
	string path,
	string culture,
	bool combineWithDefCulture,
	string className,
	string transformationName = null,
	bool selectOnlyPublished = false,
	bool checkPermissions = false
)

Parameters

siteName
Type: SystemString
Site name
path
Type: SystemString
Node path
culture
Type: SystemString
Culture code
combineWithDefCulture
Type: SystemBoolean
Combine with default culture
className
Type: SystemString
Class name (can be empty, but it's faster if you specify it)
transformationName (Optional)
Type: SystemString
Transformation name in format application.class.transformation
selectOnlyPublished (Optional)
Type: SystemBoolean
Indicates if only published documents should be returned. Default value is false and all documents are returned
checkPermissions (Optional)
Type: SystemBoolean
If true, the method will return only those nodes that can be read by current user

Return Value

Type: String
See Also