UClass::HasProperty

Checks if the property exists on this class or a parent class.

Choose your operating system:

Windows

macOS

Linux

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/UObject/Class.h

Include

#include "UObject/Class.h"

Source

/Engine/Source/Runtime/CoreUObject/Private/UObject/Class.cpp

Syntax

virtual bool HasProperty
(
    FProperty * InProperty
) const

Remarks

Checks if the property exists on this class or a parent class.

Returns

True if the property exists on this or a parent class.

Parameters

Parameter

Description

InProperty

The property to check if it is contained in this or a parent class.