# `GSInstance defaultPropertyForName:`

*Instance Method*

Returns the default property for the specified name.

## Declaration

```swift
func defaultProperty(forName name: GSPropertyName) -> String?
```

```objc
- (NSString *) defaultPropertyForName:(GSPropertyName) name;
```

```python
defaultPropertyForName_(name: GSPropertyName) -> str
```

## Parameters

- `name` — The name of the property.

## Return Value

The default property, or nil if not found.

