Xperience 13 API Reference
Xperience 13 API Reference
Namespaces
CMS Namespaces
CMS.MediaLibrary Namespaces
CMS.MediaLibrary
MediaLibraryInfoProvider Class
MediaLibraryInfoProvider Methods
Get Method
Get Method (String, Int32)
MediaLibraryInfoProvider
Get Method (String, Int32)
Gets an instance of info object based on its code name and site ID.
Namespace:
CMS.MediaLibrary
Assembly:
CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 13.0.131
Syntax
C#
Copy
public
override
MediaLibraryInfo
Get
(
string
name
,
int
siteId
)
Parameters
name
Type:
System
String
Code name of the info object to look for.
siteId
Type:
System
Int32
ID of the site to which to constrain the lookup.
Return Value
Type:
MediaLibraryInfo
Returns an instance of
MediaLibraryInfo
corresponding to
name
and
siteId
or null.
Implements
IInfoBySiteAndNameProvider
TInfo
Get(String, Int32)
IInfoBySiteAndNameProvider
TInfo
Get(String, Int32)
See Also
Reference
MediaLibraryInfoProvider Class
Get Overload
CMS.MediaLibrary Namespace
Copyright (c) 2023 Kentico Software
Send comments on this topic to
support@kentico.com