Click or drag to resize

DynamicComObject Class

Defines a dynamic wrapper class over a COM object. Only useful for supporting .NET Core code.
Inheritance Hierarchy
SystemObject
  System.DynamicDynamicObject
    ShellBoost.Core.UtilitiesDynamicComObject

Namespace:  ShellBoost.Core.Utilities
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public class DynamicComObject : DynamicObject

The DynamicComObject type exposes the following members.

Constructors
  NameDescription
Public methodDynamicComObject
Initializes a new instance of the DynamicComObject class.
Top
Properties
  NameDescription
Public propertyNativeObject
Gets the underlying native COM object.
Top
Methods
  NameDescription
Public methodStatic memberCreate(Guid, Boolean)
Creates a COM object from a CLSID.
Public methodStatic memberCreate(String, Boolean)
Creates a COM object from a progID.
Public methodTryGetIndex
Provides the implementation for operations that get a value by index. Classes derived from the DynamicObject class can override this method to specify dynamic behavior for indexing operations.
(Overrides DynamicObjectTryGetIndex(GetIndexBinder, Object, Object).)
Public methodTryGetMember
Provides the implementation for operations that get member values. Classes derived from the DynamicObject class can override this method to specify dynamic behavior for operations such as getting a value for a property.
(Overrides DynamicObjectTryGetMember(GetMemberBinder, Object).)
Public methodTryInvokeMember
Provides the implementation for operations that invoke a member. Classes derived from the DynamicObject class can override this method to specify dynamic behavior for operations such as calling a method.
(Overrides DynamicObjectTryInvokeMember(InvokeMemberBinder, Object, Object).)
Public methodTrySetMember
Provides the implementation for operations that set member values. Classes derived from the DynamicObject class can override this method to specify dynamic behavior for operations such as setting a value for a property.
(Overrides DynamicObjectTrySetMember(SetMemberBinder, Object).)
Top
See Also