public class ITypeLib2Implementation extends NetObject implements ITypeLib2
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Runtime.InteropServices.ComTypes.ITypeLib2
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e
|
static java.lang.String |
assemblyShortName
Assembly name: System.Private.CoreLib
|
static java.lang.String |
className
Qualified class name: System.Runtime.InteropServices.ComTypes.ITypeLib2
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
ITypeLib2Implementation(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
FindName(java.lang.String szNameBuf,
int lHashVal,
JCORefOut<ITypeInfo[]> ppTInfo,
JCORefOut rgMemId,
JCORefOut<java.util.concurrent.atomic.AtomicReference<java.lang.Short>> pcFound)
Invokes the .NET member FindName.
|
void |
GetCustData(JCORefOut<Guid> guid,
JCORefOut<NetObject> pVarVal)
Invokes the .NET member GetCustData.
|
void |
GetDocumentation(int index,
JCORefOut strName,
JCORefOut strDocString,
JCORefOut<java.util.concurrent.atomic.AtomicInteger> dwHelpContext,
JCORefOut strHelpFile)
Invokes the .NET member GetDocumentation.
|
void |
GetDocumentation2(int index,
JCORefOut pbstrHelpString,
JCORefOut<java.util.concurrent.atomic.AtomicInteger> pdwHelpStringContext,
JCORefOut pbstrHelpStringDll)
Invokes the .NET member GetDocumentation2.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
void |
GetTypeComp(JCORefOut<ITypeComp> ppTComp)
Invokes the .NET member GetTypeComp.
|
void |
GetTypeInfo(int index,
JCORefOut<ITypeInfo> ppTI)
Invokes the .NET member GetTypeInfo.
|
int |
GetTypeInfoCount()
Invokes the .NET member GetTypeInfoCount.
|
void |
GetTypeInfoOfGuid(JCORefOut<Guid> guid,
JCORefOut<ITypeInfo> ppTInfo)
Invokes the .NET member GetTypeInfoOfGuid.
|
void |
GetTypeInfoType(int index,
JCORefOut<TYPEKIND> pTKind)
Invokes the .NET member GetTypeInfoType.
|
boolean |
IsName(java.lang.String szNameBuf,
int lHashVal)
Invokes the .NET member IsName.
|
static ITypeLib2 |
ToITypeLib2(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into ITypeLib2, a cast assert is made to check if types are compatible. |
cast, Equals, Equals, GetHashCode, GetType, hashCode, setJCOInstance, toString, ToStringToITypeLibpublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public ITypeLib2Implementation(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic 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
FindName in interface ITypeLibFindName in interface ITypeLib2szNameBuf - the argument of type java.lang.StringlHashVal - the argument of type intppTInfo - the argument of type JCORefOut<ITypeInfo[]>rgMemId - the argument of type JCORefOutpcFound - the argument of type JCORefOut<java.util.concurrent.atomic.AtomicReference<java.lang.Short>>java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void GetCustData(JCORefOut<Guid> guid, JCORefOut<NetObject> pVarVal) throws java.lang.Throwable
GetCustData in interface ITypeLib2guid - the argument of type JCORefOut<Guid>pVarVal - the argument of type JCORefOut<NetObject>java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void GetDocumentation(int index,
JCORefOut strName,
JCORefOut strDocString,
JCORefOut<java.util.concurrent.atomic.AtomicInteger> dwHelpContext,
JCORefOut strHelpFile)
throws java.lang.Throwable
GetDocumentation in interface ITypeLibGetDocumentation in interface ITypeLib2index - the argument of type intstrName - the argument of type JCORefOutstrDocString - the argument of type JCORefOutdwHelpContext - the argument of type JCORefOut<java.util.concurrent.atomic.AtomicInteger>strHelpFile - the argument of type JCORefOutjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void GetDocumentation2(int index,
JCORefOut pbstrHelpString,
JCORefOut<java.util.concurrent.atomic.AtomicInteger> pdwHelpStringContext,
JCORefOut pbstrHelpStringDll)
throws java.lang.Throwable
GetDocumentation2 in interface ITypeLib2index - the argument of type intpbstrHelpString - the argument of type JCORefOutpdwHelpStringContext - the argument of type JCORefOut<java.util.concurrent.atomic.AtomicInteger>pbstrHelpStringDll - the argument of type JCORefOutjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in interface ITypeLibgetJCOAssemblyName in interface ITypeLib2getJCOAssemblyName in class NetObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in interface ITypeLibgetJCOClassName in interface ITypeLib2getJCOClassName in class NetObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in interface ITypeLibgetJCOInstance in interface ITypeLib2getJCOInstance in class NetObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in interface ITypeLibgetJCOObjectName in interface ITypeLib2getJCOObjectName in class NetObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in interface ITypeLibgetJCOType in interface ITypeLib2getJCOType in class NetObjectpublic void GetTypeComp(JCORefOut<ITypeComp> ppTComp) throws java.lang.Throwable
GetTypeComp in interface ITypeLibGetTypeComp in interface ITypeLib2ppTComp - the argument of type JCORefOut<ITypeComp>java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void GetTypeInfo(int index,
JCORefOut<ITypeInfo> ppTI)
throws java.lang.Throwable
GetTypeInfo in interface ITypeLibGetTypeInfo in interface ITypeLib2index - the argument of type intppTI - the argument of type JCORefOut<ITypeInfo>java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int GetTypeInfoCount()
throws java.lang.Throwable
GetTypeInfoCount in interface ITypeLibGetTypeInfoCount in interface ITypeLib2java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void GetTypeInfoOfGuid(JCORefOut<Guid> guid, JCORefOut<ITypeInfo> ppTInfo) throws java.lang.Throwable
GetTypeInfoOfGuid in interface ITypeLibGetTypeInfoOfGuid in interface ITypeLib2guid - the argument of type JCORefOut<Guid>ppTInfo - the argument of type JCORefOut<ITypeInfo>java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void GetTypeInfoType(int index,
JCORefOut<TYPEKIND> pTKind)
throws java.lang.Throwable
GetTypeInfoType in interface ITypeLibGetTypeInfoType in interface ITypeLib2index - the argument of type intpTKind - the argument of type JCORefOut<TYPEKIND>java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean IsName(java.lang.String szNameBuf,
int lHashVal)
throws java.lang.Throwable
IsName in interface ITypeLibIsName in interface ITypeLib2szNameBuf - the argument of type java.lang.StringlHashVal - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static ITypeLib2 ToITypeLib2(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into ITypeLib2, a cast assert is made to check if types are compatible.ToITypeLib2 in interface ITypeLib2from - IJCOBridgeReflected instance to be castedITypeLib2 instancejava.lang.Throwable - in case of error during cast operation