Represents a read-only collection of Bexel.Api.PropertyDefinitions.
More...
Represents a read-only collection of Bexel.Api.PropertyDefinitions.
◆ ContainsKey() [1/2]
Determines whether the collection contains the property definition with the specified ID.
- Parameters
-
id | ID of the property definition. |
- Returns
- True if property definition with the specified ID exists, False otherwise.
◆ ContainsKey() [2/2]
bool Bexel.Api.IReadOnlyPropertyDefinitionCollection.ContainsKey |
( |
int |
internalID | ) |
|
Determines whether the collection contains the property definition with the specified internal ID.
- Parameters
-
internalID | Internal ID of the property definition. |
- Returns
- True if property definition with the specified internal ID exists, False otherwise.
◆ GetPropertyDefinitionByID() [1/2]
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.
◆ GetPropertyDefinitionByID() [2/2]
PropertyDefinition Bexel.Api.IReadOnlyPropertyDefinitionCollection.GetPropertyDefinitionByID |
( |
int |
internalID | ) |
|
Retrieves the property definition with the specified internal ID.
- Parameters
-
internalID | Internal ID of the property definition. |
- Returns
- A property definition with the specified internal ID, null if no such property definition exists within the collection.
◆ GetPropertyDefinitionByName()
PropertyDefinition Bexel.Api.IReadOnlyPropertyDefinitionCollection.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.
◆ GetPropertyDefinitionByUnitType()
Retrieves the property definitions with the specified type.
- Parameters
-
type | Type of the property definition. |
- Returns
- All property definitions with the specified type, empty collection if no such property definitions exist within the collection.
◆ this[int internalID]
Retrieves the property definition with the specified internal ID.
- Parameters
-
internalID | Internal ID of the property definition. |
- Returns
- A property definition with the specified internal ID.
- Exceptions
-
System.Collections.Generic.KeyNotFoundException | No property definition with the specified internal ID exists within the collection. |
◆ this[PropertyDefinitionID id]
Retrieves the property definition with the specified ID.
- Parameters
-
id | ID of the property definition. |
- Returns
- A property definition with the specified ID.
- Exceptions
-
System.Collections.Generic.KeyNotFoundException | No property definition with the specified ID exists within the collection. |