DynamicJsonObject.TryGetMember Method
Gets the value of a DynamicJsonObject field using the specified name.
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 DynamicJsonObject
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
Provides information about the get operation.
- result
Type: System.Object%
When this method returns, contains the value of the field, or null reference (Nothing in Visual Basic) if the get operation was unsuccessful. This parameter is passed uninitialized.
Return Value
Type: System.Boolean
true in all cases.