public class Interaction extends NetObject
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/Microsoft.VisualBasic.Interaction
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: Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: Microsoft.VisualBasic
|
static java.lang.String |
className
Qualified class name: Microsoft.VisualBasic.Interaction
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
Interaction() |
Interaction(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
AppActivate(int ProcessId) |
static void |
AppActivate(java.lang.String Title) |
static void |
Beep() |
static NetObject |
CallByName(NetObject ObjectRef,
java.lang.String ProcName,
CallType UseCallType,
NetObject... Args) |
static Interaction |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into Interaction, a cast assert is made to check if types are compatible. |
static NetObject |
Choose(double Index,
NetObject... Choice) |
static java.lang.String |
Command() |
static NetObject |
CreateObject(java.lang.String ProgId,
java.lang.String ServerName) |
static void |
DeleteSetting(java.lang.String AppName,
java.lang.String Section,
java.lang.String Key) |
static java.lang.String |
Environ(int Expression) |
static java.lang.String |
Environ(java.lang.String Expression) |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
static NetObject |
GetObject(java.lang.String PathName,
java.lang.String _Class) |
static java.lang.String |
GetSetting(java.lang.String AppName,
java.lang.String Section,
java.lang.String Key,
java.lang.String Default) |
static NetObject |
IIf(boolean Expression,
NetObject TruePart,
NetObject FalsePart) |
static java.lang.String |
InputBox(java.lang.String Prompt,
java.lang.String Title,
java.lang.String DefaultResponse,
int XPos,
int YPos) |
static MsgBoxResult |
MsgBox(NetObject Prompt,
MsgBoxStyle Buttons,
NetObject Title) |
static java.lang.String |
Partition(long Number,
long Start,
long Stop,
long Interval) |
static void |
SaveSetting(java.lang.String AppName,
java.lang.String Section,
java.lang.String Key,
java.lang.String Setting) |
void |
setJCOInstance(JCObject instance) |
static int |
Shell(java.lang.String PathName,
AppWinStyle Style,
boolean Wait,
int Timeout) |
static NetObject |
Switch(NetObject... VarExpr) |
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public Interaction()
throws java.lang.Throwable
java.lang.Throwablepublic Interaction(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static void AppActivate(int ProcessId)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
ArgumentOutOfRangeException,
NotSupportedException,
OutOfMemoryException,
IndexOutOfRangeException,
NotImplementedException,
MissingManifestResourceException,
ObjectDisposedException,
AbandonedMutexException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionArgumentOutOfRangeExceptionNotSupportedExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionAbandonedMutexExceptionpublic static void AppActivate(java.lang.String Title)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
ArgumentOutOfRangeException,
FormatException,
IndexOutOfRangeException,
ObjectDisposedException,
AbandonedMutexException,
NotSupportedException,
CultureNotFoundException,
InvalidOperationException,
NotImplementedException,
MissingManifestResourceException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionFormatExceptionIndexOutOfRangeExceptionObjectDisposedExceptionAbandonedMutexExceptionNotSupportedExceptionCultureNotFoundExceptionInvalidOperationExceptionNotImplementedExceptionMissingManifestResourceExceptionpublic static void Beep()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
ArgumentOutOfRangeException,
FormatException
public static NetObject CallByName(NetObject ObjectRef, java.lang.String ProcName, CallType UseCallType, NetObject... Args) throws java.lang.Throwable, IndexOutOfRangeException, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, InvalidOperationException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, MissingMemberException, InvalidCastException, FormatException, OverflowException, MissingMethodException, NullReferenceException, NotSupportedException, AmbiguousMatchException, RankException
java.lang.ThrowableIndexOutOfRangeExceptionArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionInvalidOperationExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionMissingMemberExceptionInvalidCastExceptionFormatExceptionOverflowExceptionMissingMethodExceptionNullReferenceExceptionNotSupportedExceptionAmbiguousMatchExceptionRankExceptionpublic static Interaction cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into Interaction, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedInteraction instancejava.lang.Throwable - in case of error during cast operationpublic static NetObject Choose(double Index, NetObject... Choice) throws java.lang.Throwable, NotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, IndexOutOfRangeException, ArgumentException, InvalidOperationException, ArgumentNullException, MissingMethodException, TargetInvocationException, NotImplementedException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException
java.lang.ThrowableNotSupportedExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionArgumentExceptionInvalidOperationExceptionArgumentNullExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionpublic static java.lang.String Command()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
ArgumentOutOfRangeException,
FormatException,
IndexOutOfRangeException,
NullReferenceException,
NotSupportedException
public static NetObject CreateObject(java.lang.String ProgId, java.lang.String ServerName) throws java.lang.Throwable, IndexOutOfRangeException, NotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, FormatException, CultureNotFoundException, ArgumentException, InvalidOperationException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, NullReferenceException
java.lang.ThrowableIndexOutOfRangeExceptionNotSupportedExceptionArgumentOutOfRangeExceptionArgumentNullExceptionFormatExceptionCultureNotFoundExceptionArgumentExceptionInvalidOperationExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionNullReferenceExceptionpublic static void DeleteSetting(java.lang.String AppName,
java.lang.String Section,
java.lang.String Key)
throws java.lang.Throwable,
NotSupportedException,
ArgumentOutOfRangeException,
OutOfMemoryException,
IndexOutOfRangeException,
ArgumentNullException,
ArgumentException,
FormatException,
CultureNotFoundException,
InvalidOperationException,
NotImplementedException,
MissingManifestResourceException,
ObjectDisposedException,
UnauthorizedAccessException,
IOException,
SecurityException
java.lang.ThrowableNotSupportedExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionArgumentNullExceptionArgumentExceptionFormatExceptionCultureNotFoundExceptionInvalidOperationExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionUnauthorizedAccessExceptionIOExceptionSecurityExceptionpublic static java.lang.String Environ(int Expression)
throws java.lang.Throwable,
NotSupportedException,
ArgumentOutOfRangeException,
OutOfMemoryException,
IndexOutOfRangeException,
ArgumentException,
InvalidOperationException,
ArgumentNullException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
FormatException,
SecurityException,
NullReferenceException,
RankException
java.lang.ThrowableNotSupportedExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionArgumentExceptionInvalidOperationExceptionArgumentNullExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionSecurityExceptionNullReferenceExceptionRankExceptionpublic static java.lang.String Environ(java.lang.String Expression)
throws java.lang.Throwable,
NotSupportedException,
ArgumentOutOfRangeException,
OutOfMemoryException,
IndexOutOfRangeException,
ArgumentException,
InvalidOperationException,
ArgumentNullException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
FormatException,
NullReferenceException
java.lang.ThrowableNotSupportedExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionArgumentExceptionInvalidOperationExceptionArgumentNullExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionNullReferenceExceptionpublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectJCType representing the CLR Type of the instantiated Classpublic static NetObject GetObject(java.lang.String PathName, java.lang.String _Class) throws java.lang.Throwable, IndexOutOfRangeException, NotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, FormatException, CultureNotFoundException, ArgumentException, InvalidOperationException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException
public static java.lang.String GetSetting(java.lang.String AppName,
java.lang.String Section,
java.lang.String Key,
java.lang.String Default)
throws java.lang.Throwable,
NotSupportedException,
ArgumentOutOfRangeException,
OutOfMemoryException,
IndexOutOfRangeException,
ArgumentNullException,
ArgumentException,
FormatException,
CultureNotFoundException,
InvalidOperationException,
NotImplementedException,
MissingManifestResourceException,
ObjectDisposedException,
SecurityException,
UnauthorizedAccessException,
IOException
java.lang.ThrowableNotSupportedExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionArgumentNullExceptionArgumentExceptionFormatExceptionCultureNotFoundExceptionInvalidOperationExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionSecurityExceptionUnauthorizedAccessExceptionIOExceptionpublic static NetObject IIf(boolean Expression, NetObject TruePart, NetObject FalsePart) throws java.lang.Throwable
java.lang.Throwablepublic static java.lang.String InputBox(java.lang.String Prompt,
java.lang.String Title,
java.lang.String DefaultResponse,
int XPos,
int YPos)
throws java.lang.Throwable,
InvalidOperationException,
NotImplementedException,
ArgumentOutOfRangeException,
Win32Exception,
ArgumentException,
ArgumentNullException,
CultureNotFoundException,
IndexOutOfRangeException,
IOException,
NotSupportedException,
ObjectDisposedException,
AbandonedMutexException,
NullReferenceException,
InvalidEnumArgumentException,
MissingManifestResourceException,
RankException,
MulticastNotSupportedException,
OutOfMemoryException,
SecurityException
java.lang.ThrowableInvalidOperationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionWin32ExceptionArgumentExceptionArgumentNullExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionIOExceptionNotSupportedExceptionObjectDisposedExceptionAbandonedMutexExceptionNullReferenceExceptionInvalidEnumArgumentExceptionMissingManifestResourceExceptionRankExceptionMulticastNotSupportedExceptionOutOfMemoryExceptionSecurityExceptionpublic static MsgBoxResult MsgBox(NetObject Prompt, MsgBoxStyle Buttons, NetObject Title) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, ArgumentNullException, NotImplementedException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, NotSupportedException, FormatException, InvalidCastException, OverflowException, MemberAccessException, TargetException, TargetParameterCountException, NullReferenceException, MissingMemberException, InvalidEnumArgumentException, Win32Exception, SecurityException, OutOfMemoryException, MulticastNotSupportedException, InvalidAsynchronousStateException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionInvalidOperationExceptionArgumentNullExceptionNotImplementedExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionNotSupportedExceptionFormatExceptionInvalidCastExceptionOverflowExceptionMemberAccessExceptionTargetExceptionTargetParameterCountExceptionNullReferenceExceptionMissingMemberExceptionInvalidEnumArgumentExceptionWin32ExceptionSecurityExceptionOutOfMemoryExceptionMulticastNotSupportedExceptionInvalidAsynchronousStateExceptionpublic static java.lang.String Partition(long Number,
long Start,
long Stop,
long Interval)
throws java.lang.Throwable,
NotSupportedException,
ArgumentOutOfRangeException,
OutOfMemoryException,
IndexOutOfRangeException,
ArgumentException,
InvalidOperationException,
ArgumentNullException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
FormatException
java.lang.ThrowableNotSupportedExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionArgumentExceptionInvalidOperationExceptionArgumentNullExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionpublic static void SaveSetting(java.lang.String AppName,
java.lang.String Section,
java.lang.String Key,
java.lang.String Setting)
throws java.lang.Throwable,
NotSupportedException,
ArgumentOutOfRangeException,
OutOfMemoryException,
IndexOutOfRangeException,
ArgumentNullException,
ArgumentException,
FormatException,
CultureNotFoundException,
InvalidOperationException,
NotImplementedException,
MissingManifestResourceException,
ObjectDisposedException,
UnauthorizedAccessException,
IOException
java.lang.ThrowableNotSupportedExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionArgumentNullExceptionArgumentExceptionFormatExceptionCultureNotFoundExceptionInvalidOperationExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionUnauthorizedAccessExceptionIOExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class NetObjectpublic static int Shell(java.lang.String PathName,
AppWinStyle Style,
boolean Wait,
int Timeout)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
ArgumentOutOfRangeException,
FormatException,
NotSupportedException,
IndexOutOfRangeException,
NotImplementedException,
MissingManifestResourceException,
ObjectDisposedException,
AbandonedMutexException,
NullReferenceException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionArgumentOutOfRangeExceptionFormatExceptionNotSupportedExceptionIndexOutOfRangeExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionAbandonedMutexExceptionNullReferenceExceptionpublic static NetObject Switch(NetObject... VarExpr) throws java.lang.Throwable, NotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, IndexOutOfRangeException, ArgumentException, InvalidOperationException, ArgumentNullException, MissingMethodException, TargetInvocationException, NotImplementedException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException, NullReferenceException, OverflowException, InvalidCastException
java.lang.ThrowableNotSupportedExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionArgumentExceptionInvalidOperationExceptionArgumentNullExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionNullReferenceExceptionOverflowExceptionInvalidCastException