Represents a string as an int for efficient lookup and comparison. Use this for common PropertyNames. Internally stores just an int to represent the string. A PropertyName can be created from a string but can not be converted back to a string. The same string always results in the same int representing that string. Thus this is a very efficient string representation in both memory and speed when all you need is comparison.
Unity PropertyName
Members
Constructor
Name | Description |
---|
[PropertyName(name) ](./PropertyName Constructor.md) | Initializes the PropertyName using a string. |
Static Methods
Name | Description |
---|
PropertyName .IsNullOrEmpty(prop) | Indicates whether the specified PropertyName is an Empty string. |