Version: 2022.3
LanguageEnglish
  • C#

PropertyContainer.IsPathValid

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 bool IsPathValid(TContainer container, string path);

Parameters

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

Returns

bool <see langword="true" /> if a property can be found at path.

Description

Returns <see langword="true" /> if a property exists at the specified PropertyPath.


Declaration

public static bool IsPathValid(TContainer container, ref Unity.Properties.PropertyPath path);

Parameters

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

Returns

bool <see langword="true" /> if a property can be found at path.

Description

Returns <see langword="true" /> if a property exists at the specified PropertyPath.