The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
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.
Assembly: PresentationFramework (in PresentationFramework.dll)
public: virtual bool TryGetMember( GetMemberBinder^ binder, [OutAttribute] Object^% result ) override
Parameters
- binder
-
Type:
System.Dynamic::GetMemberBinder^
The binder provided by the call site.
- result
-
Type:
System::Object^%
The method result.
| 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
Available since 4.0
Show: