This class represents settings for a Configuration query for container objects. CreateQuerySettings()()()() can be used to construct an appropriate ContainerQuerySettings<(Of <(<'TConfigurationObject, TPropertyEnum>)>)> instance. The Set functions can be used to override default values.

Namespace: ININ.IceLib.Configuration
Assembly: ININ.IceLib.Configuration (in ININ.IceLib.Configuration.dll) Version: 0.0.0.0 (21.2.0.218)

Syntax

C#
public class ContainerQuerySettings<TConfigurationObject, TPropertyEnum>
where TConfigurationObject : ConfigurationObject
where TPropertyEnum : struct, new()
Visual Basic
Public Class ContainerQuerySettings(Of TConfigurationObject As ConfigurationObject, TPropertyEnum As {Structure, New})

Type Parameters

TConfigurationObject
The type of the configuration object.
TPropertyEnum
The type of the property enumeration.

Remarks

The ContainerQuerySettings class is constructed with default values to return the object that the current user has view access to. This query can be customized by calling the set functions. Calling a Set function will replace the existing settings for that item with the specified new values. For example, calling SetPropertiesToRetrieve will replace the existing property list. Calling a set function with nullNothingnullptra null reference (Nothing in Visual Basic) will cause that item to revert to the default values. All set functions return a this pointer to allow for optional fluent syntax. CreateQuerySettings()()()() is provided to allow a simple method to create a default ContainerQuerySettings object that can be further customized.

Inheritance Hierarchy

System..::..Object
  ININ.IceLib.Configuration..::..ContainerQuerySettings<(Of <(<'TConfigurationObject, TPropertyEnum>)>)>

Version Information

Supported for IC Server version 2015 R1 and beyond.
For 4.0, supported for IC Server version 4.0 SU 4 and beyond.

See Also