TryGetMember Method
Collapse the table of content
Expand the table of content

DynamicScriptObject.TryGetMember Method (GetMemberBinder, Object)

.NET Framework (current version)
 

This API supports the product infrastructure and is not intended to be used directly from your code.

Gets an member value from the script object.

Namespace:   System.Windows.Interop
Assembly:  PresentationFramework (in PresentationFramework.dll)

public override bool TryGetMember(
	GetMemberBinder binder,
	out object result
)

Parameters

binder
Type: System.Dynamic.GetMemberBinder

The binder provided by the call site.

result
Type: System.Object

The method result.

Return Value

Type: System.Boolean

Always returns true.

Exception Condition
ArgumentNullException

binder is null.

MissingMemberException

The member does not exist.

The TryGetMember method throws an exception if an invalid access is attempted.

.NET Framework
Available since 4.0
Return to top
Show:
© 2016 Microsoft