Interface ITypeLib2
-
- All Superinterfaces:
IJCOBridgeReflected
,ITypeLib
- All Known Implementing Classes:
ITypeLib2Implementation
public interface ITypeLib2 extends IJCOBridgeReflected, ITypeLib
The base .NET class managing System.Runtime.InteropServices.ComTypes.ITypeLib2, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Runtime.InteropServices.ComTypes.ITypeLib2
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
assemblyFullName
Fully assembly qualified name: System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798estatic java.lang.String
assemblyShortName
Assembly name: System.Private.CoreLibstatic java.lang.String
className
Qualified class name: System.Runtime.InteropServices.ComTypes.ITypeLib2
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description void
FindName(java.lang.String szNameBuf, int lHashVal, JCORefOut<ITypeInfo[]> ppTInfo, JCORefOut rgMemId, JCORefOut<java.util.concurrent.atomic.AtomicReference<java.lang.Short>> pcFound)
void
GetCustData(JCORefOut<Guid> guid, JCORefOut<NetObject> pVarVal)
void
GetDocumentation(int index, JCORefOut strName, JCORefOut strDocString, JCORefOut<java.util.concurrent.atomic.AtomicInteger> dwHelpContext, JCORefOut strHelpFile)
void
GetDocumentation2(int index, JCORefOut pbstrHelpString, JCORefOut<java.util.concurrent.atomic.AtomicInteger> pdwHelpStringContext, JCORefOut pbstrHelpStringDll)
java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class Typevoid
GetTypeComp(JCORefOut<ITypeComp> ppTComp)
void
GetTypeInfo(int index, JCORefOut<ITypeInfo> ppTI)
int
GetTypeInfoCount()
void
GetTypeInfoOfGuid(JCORefOut<Guid> guid, JCORefOut<ITypeInfo> ppTInfo)
void
GetTypeInfoType(int index, JCORefOut<TYPEKIND> pTKind)
boolean
IsName(java.lang.String szNameBuf, int lHashVal)
static ITypeLib2
ToITypeLib2(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoITypeLib2
, a cast assert is made to check if types are compatible.
-
-
-
Field Detail
-
assemblyFullName
static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e- See Also:
- Constant Field Values
-
assemblyShortName
static final java.lang.String assemblyShortName
Assembly name: System.Private.CoreLib- See Also:
- Constant Field Values
-
className
static final java.lang.String className
Qualified class name: System.Runtime.InteropServices.ComTypes.ITypeLib2- See Also:
- Constant Field Values
-
-
Method Detail
-
ToITypeLib2
static ITypeLib2 ToITypeLib2(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoITypeLib2
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
ITypeLib2
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
getJCOAssemblyName
java.lang.String getJCOAssemblyName()
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOAssemblyName
in interfaceITypeLib
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
java.lang.String getJCOClassName()
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOClassName
in interfaceITypeLib
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
java.lang.String getJCOObjectName()
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOObjectName
in interfaceITypeLib
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
java.lang.Object getJCOInstance()
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Specified by:
getJCOInstance
in interfaceITypeLib
- Returns:
- An
Object
representing the instance of the instantiated Class
-
getJCOType
JCType getJCOType()
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Specified by:
getJCOType
in interfaceITypeLib
- Returns:
- A
JCType
representing the Type of the instantiated Class
-
IsName
boolean IsName(java.lang.String szNameBuf, int lHashVal) throws java.lang.Throwable
-
GetTypeInfoCount
int GetTypeInfoCount() throws java.lang.Throwable
- Specified by:
GetTypeInfoCount
in interfaceITypeLib
- Throws:
java.lang.Throwable
-
FindName
void FindName(java.lang.String szNameBuf, int lHashVal, JCORefOut<ITypeInfo[]> ppTInfo, JCORefOut rgMemId, JCORefOut<java.util.concurrent.atomic.AtomicReference<java.lang.Short>> pcFound) throws java.lang.Throwable
-
GetCustData
void GetCustData(JCORefOut<Guid> guid, JCORefOut<NetObject> pVarVal) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetDocumentation
void GetDocumentation(int index, JCORefOut strName, JCORefOut strDocString, JCORefOut<java.util.concurrent.atomic.AtomicInteger> dwHelpContext, JCORefOut strHelpFile) throws java.lang.Throwable
- Specified by:
GetDocumentation
in interfaceITypeLib
- Throws:
java.lang.Throwable
-
GetDocumentation2
void GetDocumentation2(int index, JCORefOut pbstrHelpString, JCORefOut<java.util.concurrent.atomic.AtomicInteger> pdwHelpStringContext, JCORefOut pbstrHelpStringDll) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetTypeComp
void GetTypeComp(JCORefOut<ITypeComp> ppTComp) throws java.lang.Throwable
- Specified by:
GetTypeComp
in interfaceITypeLib
- Throws:
java.lang.Throwable
-
GetTypeInfo
void GetTypeInfo(int index, JCORefOut<ITypeInfo> ppTI) throws java.lang.Throwable
- Specified by:
GetTypeInfo
in interfaceITypeLib
- Throws:
java.lang.Throwable
-
GetTypeInfoOfGuid
void GetTypeInfoOfGuid(JCORefOut<Guid> guid, JCORefOut<ITypeInfo> ppTInfo) throws java.lang.Throwable
- Specified by:
GetTypeInfoOfGuid
in interfaceITypeLib
- Throws:
java.lang.Throwable
-
GetTypeInfoType
void GetTypeInfoType(int index, JCORefOut<TYPEKIND> pTKind) throws java.lang.Throwable
- Specified by:
GetTypeInfoType
in interfaceITypeLib
- Throws:
java.lang.Throwable
-
-