Method PropertyName
PropertyName(Expression<Func<object>>)
Declaration
public static string PropertyName(Expression<Func<object>> exp)
Parameters
| Type | Name | Description |
|---|---|---|
| Expression<Func<object>> | exp |
Returns
| Type | Description |
|---|---|
| string |
Examples
"m_MyField";
MyClass myclass = null; SerializedPropertyHelper.PropertyName( () => myClass.m_MyField);