Interface ITypeInfo2
-
- All Superinterfaces:
IJCOBridgeReflected
,ITypeInfo
- All Known Implementing Classes:
ITypeInfo2Implementation
public interface ITypeInfo2 extends IJCOBridgeReflected, ITypeInfo
The base .NET class managing System.Runtime.InteropServices.ComTypes.ITypeInfo2, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Runtime.InteropServices.ComTypes.ITypeInfo2
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=9.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.ITypeInfo2
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description void
CreateInstance(NetObject pUnkOuter, JCORefOut<Guid> riid, JCORefOut<NetObject> ppvObj)
void
GetContainingTypeLib(JCORefOut<ITypeLib> ppTLB, JCORefOut<java.util.concurrent.atomic.AtomicInteger> pIndex)
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 memid, JCORefOut pbstrHelpString, JCORefOut<java.util.concurrent.atomic.AtomicInteger> pdwHelpStringContext, JCORefOut pbstrHelpStringDll)
void
GetFuncCustData(int index, JCORefOut<Guid> guid, JCORefOut<NetObject> pVarVal)
void
GetFuncIndexOfMemId(int memid, INVOKEKIND invKind, JCORefOut<java.util.concurrent.atomic.AtomicInteger> pFuncIndex)
void
GetIDsOfNames(java.lang.String[] rgszNames, int cNames, JCORefOut pMemId)
void
GetImplTypeCustData(int index, JCORefOut<Guid> guid, JCORefOut<NetObject> pVarVal)
void
GetImplTypeFlags(int index, JCORefOut<IMPLTYPEFLAGS> pImplTypeFlags)
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
GetMops(int memid, JCORefOut pBstrMops)
void
GetNames(int memid, JCORefOut rgBstrNames, int cMaxNames, JCORefOut<java.util.concurrent.atomic.AtomicInteger> pcNames)
void
GetParamCustData(int indexFunc, int indexParam, JCORefOut<Guid> guid, JCORefOut<NetObject> pVarVal)
void
GetRefTypeInfo(int hRef, JCORefOut<ITypeInfo> ppTI)
void
GetRefTypeOfImplType(int index, JCORefOut<java.util.concurrent.atomic.AtomicInteger> href)
void
GetTypeComp(JCORefOut<ITypeComp> ppTComp)
void
GetTypeFlags(JCORefOut<java.util.concurrent.atomic.AtomicInteger> pTypeFlags)
void
GetTypeKind(JCORefOut<TYPEKIND> pTypeKind)
void
GetVarCustData(int index, JCORefOut<Guid> guid, JCORefOut<NetObject> pVarVal)
void
GetVarIndexOfMemId(int memid, JCORefOut<java.util.concurrent.atomic.AtomicInteger> pVarIndex)
static ITypeInfo2
ToITypeInfo2(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoITypeInfo2
, 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=9.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.ITypeInfo2- See Also:
- Constant Field Values
-
-
Method Detail
-
ToITypeInfo2
static ITypeInfo2 ToITypeInfo2(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoITypeInfo2
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
ITypeInfo2
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 interfaceITypeInfo
- 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 interfaceITypeInfo
- 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 interfaceITypeInfo
- 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 interfaceITypeInfo
- 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 interfaceITypeInfo
- Returns:
- A
JCType
representing the Type of the instantiated Class
-
CreateInstance
void CreateInstance(NetObject pUnkOuter, JCORefOut<Guid> riid, JCORefOut<NetObject> ppvObj) throws java.lang.Throwable
- Specified by:
CreateInstance
in interfaceITypeInfo
- Throws:
java.lang.Throwable
-
GetContainingTypeLib
void GetContainingTypeLib(JCORefOut<ITypeLib> ppTLB, JCORefOut<java.util.concurrent.atomic.AtomicInteger> pIndex) throws java.lang.Throwable
- Specified by:
GetContainingTypeLib
in interfaceITypeInfo
- 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 interfaceITypeInfo
- Throws:
java.lang.Throwable
-
GetDocumentation2
void GetDocumentation2(int memid, JCORefOut pbstrHelpString, JCORefOut<java.util.concurrent.atomic.AtomicInteger> pdwHelpStringContext, JCORefOut pbstrHelpStringDll) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetFuncCustData
void GetFuncCustData(int index, JCORefOut<Guid> guid, JCORefOut<NetObject> pVarVal) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetFuncIndexOfMemId
void GetFuncIndexOfMemId(int memid, INVOKEKIND invKind, JCORefOut<java.util.concurrent.atomic.AtomicInteger> pFuncIndex) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetIDsOfNames
void GetIDsOfNames(java.lang.String[] rgszNames, int cNames, JCORefOut pMemId) throws java.lang.Throwable
- Specified by:
GetIDsOfNames
in interfaceITypeInfo
- Throws:
java.lang.Throwable
-
GetImplTypeCustData
void GetImplTypeCustData(int index, JCORefOut<Guid> guid, JCORefOut<NetObject> pVarVal) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetImplTypeFlags
void GetImplTypeFlags(int index, JCORefOut<IMPLTYPEFLAGS> pImplTypeFlags) throws java.lang.Throwable
- Specified by:
GetImplTypeFlags
in interfaceITypeInfo
- Throws:
java.lang.Throwable
-
GetMops
void GetMops(int memid, JCORefOut pBstrMops) throws java.lang.Throwable
-
GetNames
void GetNames(int memid, JCORefOut rgBstrNames, int cMaxNames, JCORefOut<java.util.concurrent.atomic.AtomicInteger> pcNames) throws java.lang.Throwable
-
GetParamCustData
void GetParamCustData(int indexFunc, int indexParam, JCORefOut<Guid> guid, JCORefOut<NetObject> pVarVal) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetRefTypeInfo
void GetRefTypeInfo(int hRef, JCORefOut<ITypeInfo> ppTI) throws java.lang.Throwable
- Specified by:
GetRefTypeInfo
in interfaceITypeInfo
- Throws:
java.lang.Throwable
-
GetRefTypeOfImplType
void GetRefTypeOfImplType(int index, JCORefOut<java.util.concurrent.atomic.AtomicInteger> href) throws java.lang.Throwable
- Specified by:
GetRefTypeOfImplType
in interfaceITypeInfo
- Throws:
java.lang.Throwable
-
GetTypeComp
void GetTypeComp(JCORefOut<ITypeComp> ppTComp) throws java.lang.Throwable
- Specified by:
GetTypeComp
in interfaceITypeInfo
- Throws:
java.lang.Throwable
-
GetTypeFlags
void GetTypeFlags(JCORefOut<java.util.concurrent.atomic.AtomicInteger> pTypeFlags) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetTypeKind
void GetTypeKind(JCORefOut<TYPEKIND> pTypeKind) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetVarCustData
void GetVarCustData(int index, JCORefOut<Guid> guid, JCORefOut<NetObject> pVarVal) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetVarIndexOfMemId
void GetVarIndexOfMemId(int memid, JCORefOut<java.util.concurrent.atomic.AtomicInteger> pVarIndex) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-