# ComponentInfo()

this function is deprecated, use function [GetMetadata()](getmetadata.md) instead.

**Status:** deprecated

```
ComponentInfo( component=component );
```

**Returns:** struct

# Arguments

| Argument | Type | Required | Description | Default |
|----------|------|----------|-------------|---------|
| component | component | Yes | component to return info for it |  |

# Examples

```cfml
q = new Query();
dump(ComponentInfo(q));
```





