DynamicRecord.TryGetMember(GetMemberBinder, Object) Method

Definition

Gets the value of a DynamicRecord member using the specified name.

public override bool TryGetMember (System.Dynamic.GetMemberBinder binder, out object result);
override this.TryGetMember : System.Dynamic.GetMemberBinder * obj -> bool
Public Overrides Function TryGetMember (binder As GetMemberBinder, ByRef result As Object) As Boolean

Parameters

binder
GetMemberBinder

Provides information about the get operation.

result
Object

When this method returns, contains the value of the member, which can be null. This parameter is passed uninitialized.

Returns

true in all cases.

Exceptions

The DynamicRecord instance does not contain a member whose name is a case-insensitive match with the name that is specified by the binder parameter.

Applies to