AbstractInfoProviderTInfo, TProviderGet Method (Guid, Int32) |
Gets an instance of info object based on its GUID and site ID.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 13.0.131
Syntax 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:
TInfoReturns an instance of
TInfo corresponding to
guid and
siteId or null.
Implements
IInfoBySiteAndGuidProviderTInfoGet(Guid, Int32)Exceptions Exception | Condition |
---|
NotSupportedException | Thrown when TInfo does not have the GUID column. |
See Also