When implemented by a class, gets the MethodInfo for the get accessor of the property.

Namespace: NHibernate.Properties
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
MethodInfo Method { get; }
Visual Basic
ReadOnly Property Method As MethodInfo
	Get
Visual C++
property MethodInfo^ Method {
	MethodInfo^ get ();
}

Remarks

This is an optional operation - if the IGetter is not for a property get then nullNothingnullptra null reference (Nothing in Visual Basic) is an acceptable value to return. It is used by the proxies to determine which getter to intercept for the identifier property.

See Also