Ektron CMS400.NET API Documentation
|
Returns the array of ContentData based on the criteria ContentSearchCondition.
public Overridable ContentData[] Execute(Ektron.Cms.ContentSearchCondition condition);
Public Overridable Function Execute(ByVal condition As Ektron.Cms.ContentSearchCondition) As ContentData()
Parameters |
Description |
condition |
ContentSearchCondition |
Array of ContentData
Dim isContentLanguage As ContentSearchCondition = New ContentSearchCondition isContentLanguage.setType = SearchType.EQUAL isContentLanguage.setValue = 1033 'The value can be integer,string,date and boolean should be match with db type isContentLanguage.setVariable = content.content_language Dim isInEktron As ContentSearchCondition = New ContentSearchCondition isInEktron.setType = SearchType.EQUAL isInEktron.setValue = "03031" 'The value can be integer,string,date and boolean should be match with dynamic_data_tbl labels type isInEktron.setVariable = "customproperties.zip code" Dim condition As ContentSearchCondition = New ContentSearchCondition condition.setType = SearchType.AND condition.AddCondition(isInEktron) condition.AddCondition(isMemberShip) Dim search As New SearchManager Dim result As userdata() = search.Execute(condition)
Copyright (c) 2008. All rights reserved.
|
What do you think about this topic? Send feedback!
|