Click or drag to resize
BaseAbstractInfoProviderGetInfoByGuid Method (String, Guid, Boolean)
Gets the info by its type and GUID from the appropriate provider.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 10.0.0
Syntax
C#
public static BaseInfo GetInfoByGuid(
	string objectType,
	Guid guid,
	bool exceptionIfObjTypeNotFound = false
)

Parameters

objectType
Type: SystemString
Object type
guid
Type: SystemGuid
GUID of the object
exceptionIfObjTypeNotFound (Optional)
Type: SystemBoolean
If true, an exception is thrown if the provider is not found. If false, the null is returned if provider is not found

Return Value

Type: BaseInfo
See Also