UClass::HasProperty

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

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss