Represents a read-only collection of Bexel.Api.Scheduling.TaskPropertyDefinitions.
More...
◆ ContainsKey()
bool Bexel.Api.Scheduling.IReadOnlyTaskPropertyDefinitionCollection.ContainsKey |
( |
string |
name | ) |
|
Determines whether the collection contains the property definition with the specified name.
- Parameters
-
name | Name of the property definition. |
- Returns
- True if property definition with the specified name exists, False otherwise.
Implemented in Bexel.Api.Scheduling.ScheduleTaskPropertyDefinitions.
◆ GetPropertyDefinitionByID()
Retrieves the property definition with the specified ID.
- Parameters
-
id | ID of the property definition. |
- Returns
- A property definition with the specified ID, null if no such property definition exists within the collection.
Implemented in Bexel.Api.Scheduling.ScheduleTaskPropertyDefinitions.
◆ GetPropertyDefinitionByName()
TaskPropertyDefinition Bexel.Api.Scheduling.IReadOnlyTaskPropertyDefinitionCollection.GetPropertyDefinitionByName |
( |
string |
name | ) |
|
Retrieves the property definition with the specified name.
- Parameters
-
name | Name of the property definition. |
- Returns
- A property definition with the specified name, null if no such property definition exists within the collection.
Implemented in Bexel.Api.Scheduling.ScheduleTaskPropertyDefinitions.
◆ TryGetValue()
bool Bexel.Api.Scheduling.IReadOnlyTaskPropertyDefinitionCollection.TryGetValue |
( |
string |
name, |
|
|
out TaskPropertyDefinition |
definition |
|
) |
| |
Retrieves the property definition with the specified name.
- Parameters
-
name | Name of the property definition. |
definition | A reference to the property definition with the specified name if exists, null otherwise. |
- Returns
- True if property definition with the specified name exists, False otherwise.
Implemented in Bexel.Api.Scheduling.ScheduleTaskPropertyDefinitions.
◆ this[string name]
Retrieves the property definition with the specified name.
- Parameters
-
name | Name of the property definition. |
- Returns
- A property definition with the specified name.
- Exceptions
-
System.Collections.Generic.KeyNotFoundException | No property definition with the specified name exists within the collection. |