C# Class Microsoft.Scripting.ComInterop.ComTypeLibDesc

Inheritance: IDynamicObject
Datei anzeigen Open project: jschementi/iron Class Usage Examples

Private Properties

Property Type Description
ComTypeLibDesc System.Linq.Expressions
CreateFromGuid ComTypeLibInfo
GetCoClassForInterface ComTypeClassDesc
GetFromTypeLib ComTypeLibDesc
HasMember bool
IDynamicMetaObjectProvider DynamicMetaObject

Public Methods

Method Description
CreateFromObject ( object rcw ) : ComTypeLibInfo

Gets an ITypeLib object from OLE Automation compatible RCW , reads definitions of CoClass'es and Enum's from this library and creates a IDynamicMetaObjectProvider that allows to instantiate coclasses and get actual values for the enums.

GetMemberNames ( ) : string[]
GetTypeLibObjectDesc ( string member ) : object
ToString ( ) : string

Private Methods

Method Description
ComTypeLibDesc ( ) : System.Linq.Expressions
CreateFromGuid ( System.Guid typeLibGuid ) : ComTypeLibInfo
GetCoClassForInterface ( string itfName ) : ComTypeClassDesc
GetFromTypeLib ( System.Runtime.InteropServices.ComTypes typeLib ) : ComTypeLibDesc
HasMember ( string member ) : bool
IDynamicMetaObjectProvider ( Expression parameter ) : DynamicMetaObject

Method Details

CreateFromObject() public static method

Gets an ITypeLib object from OLE Automation compatible RCW , reads definitions of CoClass'es and Enum's from this library and creates a IDynamicMetaObjectProvider that allows to instantiate coclasses and get actual values for the enums.
public static CreateFromObject ( object rcw ) : ComTypeLibInfo
rcw object OLE automation compatible RCW
return ComTypeLibInfo

GetMemberNames() public method

public GetMemberNames ( ) : string[]
return string[]

GetTypeLibObjectDesc() public method

public GetTypeLibObjectDesc ( string member ) : object
member string
return object

ToString() public method

public ToString ( ) : string
return string