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, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..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.StringassemblyFullNameFully assembly qualified name: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.StringassemblyShortNameAssembly name: mscorlibstatic java.lang.StringclassNameQualified class name: System.Runtime.InteropServices.ComTypes.ITypeLib2
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description voidFindName(java.lang.String szNameBuf, int lHashVal, JCORefOut<ITypeInfo[]> ppTInfo, JCORefOut rgMemId, JCORefOut<java.util.concurrent.atomic.AtomicReference<java.lang.Short>> pcFound)voidGetCustData(JCORefOut<Guid> guid, JCORefOut<NetObject> pVarVal)voidGetDocumentation(int index, JCORefOut strName, JCORefOut strDocString, JCORefOut<java.util.concurrent.atomic.AtomicInteger> dwHelpContext, JCORefOut strHelpFile)voidGetDocumentation2(int index, JCORefOut pbstrHelpString, JCORefOut<java.util.concurrent.atomic.AtomicInteger> pdwHelpStringContext, JCORefOut pbstrHelpStringDll)java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class TypevoidGetTypeComp(JCORefOut<ITypeComp> ppTComp)voidGetTypeInfo(int index, JCORefOut<ITypeInfo> ppTI)intGetTypeInfoCount()voidGetTypeInfoOfGuid(JCORefOut<Guid> guid, JCORefOut<ITypeInfo> ppTInfo)voidGetTypeInfoType(int index, JCORefOut<TYPEKIND> pTKind)booleanIsName(java.lang.String szNameBuf, int lHashVal)static ITypeLib2ToITypeLib2(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance 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: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089- See Also:
- Constant Field Values
-
assemblyShortName
static final java.lang.String assemblyShortName
Assembly name: mscorlib- 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 theIJCOBridgeReflectedinstance intoITypeLib2, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
ITypeLib2instance- Throws:
java.lang.Throwable- in case of error during cast operation
-
getJCOAssemblyName
java.lang.String getJCOAssemblyName()
Returns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Specified by:
getJCOAssemblyNamein interfaceITypeLib- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
java.lang.String getJCOClassName()
Returns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Specified by:
getJCOClassNamein interfaceITypeLib- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
java.lang.String getJCOObjectName()
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Specified by:
getJCOObjectNamein interfaceITypeLib- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
java.lang.Object getJCOInstance()
Returns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Specified by:
getJCOInstancein interfaceITypeLib- Returns:
- An
Objectrepresenting the instance of the instantiated Class
-
getJCOType
JCType getJCOType()
Returns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Specified by:
getJCOTypein interfaceITypeLib- Returns:
- A
JCTyperepresenting 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:
GetTypeInfoCountin 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:
GetDocumentationin 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:
GetTypeCompin interfaceITypeLib- Throws:
java.lang.Throwable
-
GetTypeInfo
void GetTypeInfo(int index, JCORefOut<ITypeInfo> ppTI) throws java.lang.Throwable- Specified by:
GetTypeInfoin interfaceITypeLib- Throws:
java.lang.Throwable
-
GetTypeInfoOfGuid
void GetTypeInfoOfGuid(JCORefOut<Guid> guid, JCORefOut<ITypeInfo> ppTInfo) throws java.lang.Throwable
- Specified by:
GetTypeInfoOfGuidin interfaceITypeLib- Throws:
java.lang.Throwable
-
GetTypeInfoType
void GetTypeInfoType(int index, JCORefOut<TYPEKIND> pTKind) throws java.lang.Throwable- Specified by:
GetTypeInfoTypein interfaceITypeLib- Throws:
java.lang.Throwable
-
-