Click or drag to resize
CoreExtensionsGetAPIString Method
Gets the string by the specified resource key

Namespace: CMS.Base
Assembly: CMS.Base (in CMS.Base.dll) Version: 8.2.23
Syntax
C#
public static string GetAPIString(
	this Object obj,
	string resourceKey,
	string defaultValue
)

Parameters

obj
Type: SystemObject
Object
resourceKey
Type: SystemString
Resource key
defaultValue
Type: SystemString
Default value

Return Value

Type: String

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Object. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also