CultureAwareDynamicObject..::..TryGetMember Method
Provides the implementation for operations that get member values. Classes derived from the DynamicObject class can override this method to specify dynamic behavior for operations such as getting a value for a property.
Namespace:
Tortuga.Anchor.DynamicAssembly: Tortuga.Anchor (in Tortuga.Anchor.dll)
Syntax
public bool TryGetMember( GetMemberBinder binder, out Nullable<Object> result )
Public Function TryGetMember ( _ binder As GetMemberBinder, _ <OutAttribute> ByRef result As Nullable(Of Object) _ ) As Boolean
Parameters
- binder
- Type: GetMemberBinder
Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member on which the dynamic operation is performed. For example, for the Console.WriteLine(sampleObject.SampleProperty) statement, where sampleObject is an instance of the class derived from the DynamicObject class, binder.Name returns "SampleProperty". The binder.IgnoreCase property specifies whether the member name is case-sensitive.