Click or drag to resize
AbstractInfoProviderTInfo, TProviderGet Method (Guid, Int32)
Gets an instance of info object based on its GUID and site ID.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 13.0.131
Syntax
C#
public virtual TInfo Get(
	Guid guid,
	int siteId
)

Parameters

guid
Type: SystemGuid
GUID of the info object to look for.
siteId
Type: SystemInt32
ID of the site to which to constrain the lookup.

Return Value

Type: TInfo
Returns an instance of TInfo corresponding to guid and siteId or null.

Implements

IInfoBySiteAndGuidProviderTInfoGet(Guid, Int32)
Exceptions
ExceptionCondition
NotSupportedExceptionThrown when TInfo does not have the GUID column.
See Also