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

# CAPLfunctionGetConsumedFieldRef

# GetConsumedFieldRef (obsolete)

[Valid for](../../../Shared/FeatureAvailability.md): CANoe DE

## Method Syntax

```plaintext theme={null}
consumedFieldRef * [consumedMethodRef](../Objects/CAPLfunctionConsumedMethodRef.md)::GetConsumedField();
```

## Description

Returns a reference to the enclosing field for the referred object.

## Parameters

—

## Return Values

A reference to the enclosing field. An invalid reference if the object is invalid or doesn’t refer to a field getter or setter.

## Example

—


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.