BaseCustomForm.GetDescriptor method (1 of 2)
Retrieves a specific input descriptor by its identifier from the current form’s input descriptors.
protected T GetDescriptor<T>(string id)
where T : class, IInputDescriptor
| parameter | description |
|---|---|
| T | The type of input descriptor to retrieve. |
| id | The unique identifier of the input descriptor to find. |
Return Value
The input descriptor with the specified identifier, or null if not found or if the descriptor is not of the specified type.
See Also
- interface IInputDescriptor
- class BaseCustomForm
- namespace Autodesk.DataExchange.UI.CustomForm
BaseCustomForm.GetDescriptor<T> method (2 of 2)
Retrieves a specific input descriptor by its identifier from the provided collection.
protected static T GetDescriptor<T>(IEnumerable<IInputDescriptor> descriptors, string id)
where T : class, IInputDescriptor
| parameter | description |
|---|---|
| T | The type of input descriptor to retrieve. |
| descriptors | The collection of input descriptors to search. |
| id | The unique identifier of the input descriptor to find. |
Return Value
The input descriptor with the specified identifier, or null if not found or if the descriptor is not of the specified type.
See Also
- interface IInputDescriptor
- class BaseCustomForm
- namespace Autodesk.DataExchange.UI.CustomForm