DirectShape.IsValidUsage
Method
Description:
Validates that the ExternallyTaggedGeometryObject's usage is set to an allowed value for a DirectShape.
Validates that the ExternallyTaggedGeometryObject's usage is set to an allowed value for a DirectShape.
Parameters
| Parameter | Type | Description |
|---|---|---|
| externallyTaggedGeometry | ExternallyTaggedGeometryObject | The geometry to check. |
Return Value
| Type | Description |
|---|---|
| Boolean | True if the usage is permitted. |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |