# `GSInstance propertyForName:`

*Instance Method*

Returns the property for the specified name.

## Declaration

```swift
func property(forName name: GSPropertyName) -> GSInfoProperty?
```

```objc
- (GSInfoProperty *) propertyForName:(GSPropertyName) name;
```

```python
propertyForName_(name: GSPropertyName) -> GSInfoProperty
```

## Parameters

- `name` — The name of the property.

## Return Value

The property, or nil if not found.

