> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Method AsReadOnly

Namespace: [Phoenix.Pacz](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.Pacz)\
Assembly: Phoenix.Pacz.dll

## AsReadOnly()

Returns a protected `Phoenix.PaczAPI.IReadOnlyComponentConfig` view of this object that cannot be typecasted back.

```csharp theme={null}
public IReadOnlyComponentConfig AsReadOnly()

```

### Returns

[IReadOnlyComponentConfig](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.PaczAPI.IReadOnlyComponentConfig)

A wrapper around this object. Disposing the returned object will dispose this object.
