AdvantageModuleEngine..::..GetPublishedObjectsBykeyLight<(Of <(<'T>)>)> Method (String, eComparison, Int32, List<(Of <(<'String>)>)>, Boolean)
Performs an indexed search returning lightweight business objects populated only with the specified properties, filtered by an integer key value.
Namespace:
AdvantageCMS.Core.Common.EngineAssembly: AdvantageCMS.Core (in AdvantageCMS.Core.dll)
Syntax
Type Parameters
- T
- A valid object inherited from BusinessObject.
Parameters
- keyName
- Type: String
The name of the index item to search.
- comparison
- Type: AdvantageCMS.Core.Common.Enums..::..eComparison
The type of comparison to execute.
- keyValue
- Type: Int32
The integer comparison value.
- fieldNames
- Type: List<(Of <(<'String>)>)>
Optional list of property names to populate. If null, falls back to full object retrieval.
- includeSEO
- Type: Boolean
If set to true, includes SEO fields in the result.

