MEPAnalyticalConnectionType.FindTypeByName
Method
Description:
Finds the analytical connection type by its name.
Finds the analytical connection type by its name.
Parameters
Parameter | Type | Description |
---|---|---|
doc | Document | The document where the analytical conneciton type is expected. |
name | String | The name of the expected analytical connection type. |
Return Value
Type | Description |
---|---|
ElementId | The element id of matched analytical connection type, otherwise invalidElementId. |
Exceptions
Exception | Condition |
---|---|
ArgumentException | name is an empty string. |
ArgumentNullException | A non-optional argument was null |