Method PropertyName
PropertyName(Expression<Func<object>>)
선언
public static string PropertyName(Expression<Func<object>> exp)
파라미터
| 타입 | 이름 | 설명 |
|---|---|---|
| Expression<Func<object>> | exp |
반환
| 타입 | 설명 |
|---|---|
| string |
예
"m_MyField";
MyClass myclass = null; SerializedPropertyHelper.PropertyName( () => myClass.m_MyField);