TreeNodeCollection NodeType  MembersKentico 8.0 API Reference
The TreeNodeCollection NodeType  type exposes the following members.
Constructors

  NameDescription
Public methodTreeNodeCollection NodeType (String)
Constructor.
Public methodTreeNodeCollection NodeType (String, DataSet)
Constructor. Creates a static collection populated from DataSet
Back to Top
Methods

  NameDescription
Public methodAdd(IEnumerable TObject )
Adds new object to the collection.
(Inherited from ObjectCollection TObject .)
Public methodAdd( TObject )
Adds new object to the collection.
(Inherited from ObjectCollection TObject .)
Public methodClear
Clears the current items in the collection.
(Inherited from ObjectCollection TObject .)
Public methodClone
Creates the clone of the collection.
(Inherited from TreeNodeCollection.)
Public methodCloneCollection
Creates the clone of this collection.
(Inherited from ObjectCollection TObject .)
Public methodCombineWith
Combines current instance with other properties (modifies current instace!). List properties are merged from all the participating typeinfos, other properties are taken as first non-null value (non-null is determined by nullValues collection).
(Inherited from AbstractHierarchicalObject ObjectType .)
Public methodCompareTo
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
(Inherited from AbstractObjectCollection.)
Public methodContainsColumn
Returns true if specified column is available in current structure.
(Inherited from AbstractDataContainer ParentObjectType .)
Public methodCreateChild
Creates the child collection based on the given provider
(Inherited from ObjectCollection TObject .)
Public methodCreateNewObject
Creates new instance of the encapsulated object.
(Inherited from TreeNodeCollection.)
Protected methodCreateQueryProvider
Creates a LINQ query provider for this collection
(Inherited from ObjectCollection TObject .)
Public methodDisconnect
Disconnects the collection from the database
(Inherited from AbstractObjectCollection.)
Protected methodEnsureItems
Ensures the specified number of items in the item list.
(Inherited from ObjectCollection TObject .)
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodGetCompleteWhereCondition
Gets the complete where condition for the collection
(Inherited from AbstractObjectCollection.)
Protected methodGetData
Gets the data for the collection.
(Inherited from TreeNodeCollection.)
Public methodGetEmptyObject
Gets an empty object for this collection
(Inherited from ObjectCollection TObject .)
Public methodGetEnumerator
Gets the strongly typed enumerator for the collection
Public methodGetEnumeratorInternal
Gets the enumerator for the collection.
(Inherited from ObjectCollection TObject .)
Protected methodGetFullData
Gets the data set of the data behind this collection
(Inherited from ObjectCollection TObject .)
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Protected methodGetItem
Gets the item on the specified index.
(Inherited from ObjectCollection TObject .)
Public methodGetNameWhereCondition
Gets the where condition for the given object name.
(Inherited from ObjectCollection TObject .)
Protected methodGetObjectByNameInternal
Gets the object by its name, internal representation that gets data from database
(Inherited from TreeNodeCollection.)
Protected methodGetObjectEnumerator
Gets the object enumerator for the collection
(Inherited from ObjectCollection TObject .)
Public methodGetObjectName(Object)
Returns the name of the given object
(Inherited from ObjectCollection TObject .)
Public methodGetObjectName(TreeNode)
Gets the unique object name from the given object.
(Inherited from TreeNodeCollection.)
Public methodGetProperty
Gets the context property.
(Inherited from AbstractHierarchicalObject ObjectType .)
Protected methodGetPropertyType
Gets the type of the given property
(Inherited from AbstractHierarchicalObject ObjectType .)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Public methodGetValue
Gets the object value.
(Inherited from AbstractSimpleDataContainer ParentObjectType .)
Public methodHasSetter
Returns true if given property has a setter
(Inherited from AbstractHierarchicalObject ObjectType .)
Public methodMakeEmpty
Makes the collection empty.
(Inherited from AbstractObjectCollection.)
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodReconnect
Reconnects the collection to the database
(Inherited from AbstractObjectCollection.)
Protected methodRegisterColumn(String, Func ParentObjectType, Object )
Registers the given Column to the object
(Inherited from AbstractSimpleDataContainer ParentObjectType .)
Protected methodRegisterColumn(String, Func ParentObjectType, Object , Func ParentObjectType, Object, Object )
Registers the given Column to the object
(Inherited from AbstractSimpleDataContainer ParentObjectType .)
Protected methodRegisterColumns
Registers the Columns of this object
(Inherited from TreeNodeCollection.)
Protected methodRegisterProperties
Registers the properties of this object
(Inherited from TreeNodeCollection.)
Protected methodRegisterProperty(String, Func ObjectType, Object )
Registers the given property to the object
(Inherited from AbstractHierarchicalObject ObjectType .)
Protected methodRegisterProperty(String, Object, Func ObjectType, Object, Object )
Registers the given parameterized property to the object.
(Inherited from AbstractHierarchicalObject ObjectType .)
Public methodRemove(IEnumerable TObject )
Removes the specified object from the collection.
(Inherited from ObjectCollection TObject .)
Public methodRemove( TObject )
Removes the specified object from the collection.
(Inherited from ObjectCollection TObject .)
Public methodSetProperty
Gets the context property.
(Inherited from AbstractHierarchicalObject ObjectType .)
Public methodSetValue
Sets the object value.
(Inherited from AbstractSimpleDataContainer ParentObjectType .)
Public methodSubmitChanges
Submits the changes in the collection to the database.
(Inherited from TreeNodeCollection.)
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Public methodTryGetProperty(String, Object )
Gets the context property.
(Inherited from AbstractHierarchicalObject ObjectType .)
Public methodTryGetProperty(String, Object , Boolean)
Returns value of property.
(Inherited from AbstractHierarchicalObject ObjectType .)
Public methodTryGetValue
Returns value of column.
(Inherited from AbstractSimpleDataContainer ParentObjectType .)
Protected methodUseData
Initializes the collection with the given source data
(Inherited from ObjectCollection TObject .)
Protected methodValidateItem
Validates whether the item can be member of the collection (collection can work with it). Returns true if item is valid.
(Inherited from ObjectCollection TObject .)
Back to Top
Extension Methods

  NameDescription
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToJSON
Returns JSON representation of current instance of IEnumerable.
(Defined by DataExtensions.)
Public Extension MethodToList NodeType, TTo 
Converts the given collection to a list of values
(Defined by BaseExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToXML
Returns XML representation of current instance of IEnumerable.
(Defined by DataExtensions.)
Back to Top
Fields

  NameDescription
Public fieldAliasPath
Alias path.
(Inherited from TreeNodeCollection.)
Public fieldClassNames
Class names to select.
(Inherited from TreeNodeCollection.)
Public fieldCombineWithDefaultCulture
Combine with default culture.
(Inherited from TreeNodeCollection.)
Public fieldCultureCode
Culture of the documents.
(Inherited from TreeNodeCollection.)
Protected fieldmAllowPaging
If true, the paging of the data is allowed (data is loaded in batches).
(Inherited from ObjectCollection TObject .)
Public fieldMaxRelativeLevel
Maximum relative level.
(Inherited from TreeNodeCollection.)
Protected fieldmColumnNames
Column names
(Inherited from ObjectCollection TObject .)
Protected fieldmCount
Total number of items.
(Inherited from AbstractObjectCollection.)
Protected fieldmCountDifference
Difference in count of the items from data source and current number of items
(Inherited from ObjectCollection TObject .)
Protected fieldmDeletedItems
Deleted items removed from the collection.
(Inherited from ObjectCollection TObject .)
Protected fieldmDisconnectedCount
Number of disconnected references for this collection
(Inherited from AbstractObjectCollection.)
Protected fieldmInstanceGuid
Instance GUID
(Inherited from AbstractObjectCollection.)
Protected fieldmItems
Items collection.
(Inherited from ObjectCollection TObject .)
Protected fieldmLoadBinaryData
Indicates whether to load binary data into the collections.
(Inherited from AbstractObjectCollection.)
Protected fieldmName
Collection name
(Inherited from AbstractObjectCollection.)
Protected fieldmNewItems
New items added to the collection.
(Inherited from ObjectCollection TObject .)
Protected fieldmObjectsByName
Objects by name.
(Inherited from ObjectCollection TObject .)
Protected fieldmPageSize
Page size for loading of the items.
(Inherited from ObjectCollection TObject .)
Protected fieldmSourceData
Source data for the collection
(Inherited from ObjectCollection TObject .)
Protected fieldmTreeProvider
Tree provider object to use for the database access.
(Inherited from TreeNodeCollection.)
Protected fieldmWithAllData
Collection including coupled data
(Inherited from TreeNodeCollection.)
Public fieldSelectAllData
If true, the coupled data are retrieved in case class names are specified
(Inherited from TreeNodeCollection.)
Public fieldSelectOnlyPublished
Select only published documents.
(Inherited from TreeNodeCollection.)
Public fieldSiteName
Site name of the documents.
(Inherited from TreeNodeCollection.)
Back to Top
Properties

  NameDescription
Public propertyAllowPaging
If true, the paging of the data is allowed (data is loaded in batches).
(Inherited from ObjectCollection TObject .)
Public propertyColumnNames
Available column names.
(Inherited from AbstractDataContainer ParentObjectType .)
Public propertyColumns
Columns to get.
(Inherited from AbstractObjectCollection.)
Public propertyCount
Returns the number of items.
(Inherited from ObjectCollection TObject .)
Public propertyDefaultClassName
Default class name for the documents (if ClassName column is not available)
(Inherited from TreeNodeCollection.)
Public propertyDynamicWhereCondition
Dynamic where condition.
(Inherited from AbstractObjectCollection.)
Public propertyElementType
Returns the element type.
(Inherited from ObjectCollection TObject .)
Public propertyEnforceReadOnlyDataAccess
If true, the read only access to the data is enforced within the transaction.
(Inherited from AbstractObjectCollection.)
Public propertyExpression
Query expression
(Inherited from ObjectCollection TObject .)
Public propertyFirstItem
Returns the first item of the collection
(Inherited from ObjectCollection TObject .)
Protected propertyInternalCount
Internal count of the items
(Inherited from ObjectCollection TObject .)
Public propertyIsCachedObject
If true, the object is cached within the system for later use
(Inherited from AbstractObjectCollection.)
Public propertyIsDisconnected
Returns true if the collection is disconnected from the data source
(Inherited from TreeNodeCollection.)
Public propertyIsLastVersion
If true, the document is the last version (retrieved using DocumentHelper.GetDocument).
(Inherited from AbstractObjectCollection.)
Public propertyIsOffline
Returns true, if the collection is offline (not backed up by the database but by the source data)
(Inherited from ObjectCollection TObject .)
Public propertyItem Int32 
Gets or sets the object on specific index.
(Inherited from ObjectCollection TObject .)
Public propertyItem String 
Returns the object registered by the specific name.
(Inherited from ObjectCollection TObject .)
Protected propertyItems
Returns the items collection.
(Inherited from ObjectCollection TObject .)
Public propertyItemsHaveNames
Returns true if the items in the collection have names
(Inherited from ObjectCollection TObject .)
Public propertyItemType
Result type
(Inherited from ObjectCollection TObject .)
Public propertyLastItem
Returns the last item of the collection
(Inherited from ObjectCollection TObject .)
Public propertyLoadBinaryData
Gets or sets the value which indicates whether to load binary data into the collections.
(Inherited from ObjectCollection TObject .)
Public propertyName
Collection name
(Inherited from AbstractObjectCollection.)
Public propertyNameColumn
Name column name
(Inherited from TreeNodeCollection.)
Protected propertyObjectsByName
Objects by name collection.
(Inherited from ObjectCollection TObject .)
Public propertyOrderBy
Order by expression.
(Inherited from AbstractObjectCollection.)
Public propertyParentDocument
Parent document.
(Inherited from TreeNodeCollection.)
Public propertyParentStorage
Parent storage
(Inherited from AbstractObjectCollection.)
Public propertyProperties
Properties available through the context.
(Inherited from AbstractHierarchicalObject ObjectType .)
Protected propertyPropertyList
Used property list
(Inherited from AbstractHierarchicalObject ObjectType .)
Public propertyProvider
Query provider
(Inherited from ObjectCollection TObject .)
Protected propertyRegisteredColumns
Registered Columns
(Inherited from AbstractSimpleDataContainer ParentObjectType .)
Protected propertyRegisteredColumnsObject
Registered Columns object
(Inherited from AbstractSimpleDataContainer ParentObjectType .)
Protected propertyRegisteredProperties
Registered properties
(Inherited from AbstractHierarchicalObject ObjectType .)
Protected propertyRegisteredPropertiesObject
Registered properties object
(Inherited from AbstractHierarchicalObject ObjectType .)
Protected propertyRemovedObject
Defines the removed object within collection
(Inherited from ObjectCollection TObject .)
Public propertySortNames
If true, the names in enumeration are sorted
(Inherited from ObjectCollection TObject .)
Public propertyTopN
Select top N objects.
(Inherited from AbstractObjectCollection.)
Public propertyTreeProvider
Tree provider instance used to access data. If no TreeProvider is assigned, a new TreeProvider instance is created.
(Inherited from TreeNodeCollection.)
Protected propertyUseLocalColumns
If true, the object uses local columns
(Inherited from AbstractSimpleDataContainer ParentObjectType .)
Protected propertyUseLocalProperties
If true, the object uses local properties
(Inherited from AbstractHierarchicalObject ObjectType .)
Public propertyWhereCondition
Where condition.
(Inherited from AbstractObjectCollection.)
Public propertyWithAllData
Collection including coupled data
(Inherited from TreeNodeCollection.)
Back to Top
See Also