Version: Unity 6 (6000.0)
LanguageEnglish
  • C#

PropertyBag<T0>.GetProperties

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 PropertyCollection<TContainer> GetProperties();

Returns

PropertyCollection<TContainer> A PropertyCollection_1 structure which can enumerate each property.

Description

Implement this method to return a PropertyCollection_1 that can enumerate through all properties for the TContainer.


Declaration

public PropertyCollection<TContainer> GetProperties(ref TContainer container);

Parameters

container The container hosting the data.

Returns

PropertyCollection<TContainer> A PropertyCollection_1 structure which can enumerate each property.

Description

Implement this method to return a PropertyCollection_1 that can enumerate through all properties for the TContainer.