Version: 2022.3
LanguageEnglish
  • C#

PropertyContainer.GetProperty

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Declaration

public static Unity.Properties.IProperty GetProperty(TContainer container, ref Unity.Properties.PropertyPath path);

Parameters

container The container tree to search.
path The property path to resolve.

Returns

IProperty The IProperty for the given path.

Description

Gets an IProperty on the specified container for the given PropertyPath.

While the container data is not actually read from or written to. The container itself is needed to resolve polymorphic fields and list elements.