WebGridRow.TryGetMember Method
Returns the value of a WebGridRow member that is described by the specified binder.
Namespace: System.Web.Helpers
Assembly: System.Web.Helpers (in System.Web.Helpers.dll)
Syntax
'Declaration
Public Overrides Function TryGetMember ( _
binder As GetMemberBinder, _
<OutAttribute> ByRef result As Object _
) As Boolean
'Usage
Dim instance As WebGridRow
Dim binder As GetMemberBinder
Dim result As Object
Dim returnValue As Boolean
returnValue = instance.TryGetMember(binder, _
result)
public override bool TryGetMember(
GetMemberBinder binder,
out Object result
)
public:
virtual bool TryGetMember(
GetMemberBinder^ binder,
[OutAttribute] Object^% result
) override
abstract TryGetMember :
binder:GetMemberBinder *
result:Object byref -> bool
override TryGetMember :
binder:GetMemberBinder *
result:Object byref -> bool
public override function TryGetMember(
binder : GetMemberBinder,
result : Object
) : boolean
Parameters
- binder
Type: System.Dynamic.GetMemberBinder
The getter of the bound property member.
- result
Type: System.Object%
When this method returns, contains an object that holds the value of the item described by binder. This parameter is passed uninitialized.
Return Value
Type: System.Boolean
true if the value of the item was successfully retrieved; otherwise, false.
Remarks
If the Name property of binder contains "ROW", result will contain the row index when this method returns.