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.Core, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: Microsoft.VisualBasic.Core
|
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,
PlatformNotSupportedException,
ArgumentNullException,
TypeLoadException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
ArgumentException,
FormatException,
InvalidOperationException,
FileLoadException,
FileNotFoundException,
NotSupportedException,
CultureNotFoundException,
NullReferenceException,
OutOfMemoryException,
ExternalException
java.lang.ThrowablePlatformNotSupportedExceptionArgumentNullExceptionTypeLoadExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionArgumentExceptionFormatExceptionInvalidOperationExceptionFileLoadExceptionFileNotFoundExceptionNotSupportedExceptionCultureNotFoundExceptionNullReferenceExceptionOutOfMemoryExceptionExternalExceptionpublic static void AppActivate(java.lang.String Title)
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentNullException,
TypeLoadException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
ArgumentException,
FormatException,
InvalidOperationException,
FileLoadException,
FileNotFoundException,
NotSupportedException,
CultureNotFoundException,
NullReferenceException,
OutOfMemoryException,
ExternalException
java.lang.ThrowablePlatformNotSupportedExceptionArgumentNullExceptionTypeLoadExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionArgumentExceptionFormatExceptionInvalidOperationExceptionFileLoadExceptionFileNotFoundExceptionNotSupportedExceptionCultureNotFoundExceptionNullReferenceExceptionOutOfMemoryExceptionExternalExceptionpublic static void Beep()
throws java.lang.Throwable
java.lang.Throwablepublic static NetObject CallByName(NetObject ObjectRef, java.lang.String ProcName, CallType UseCallType, NetObject... Args) throws java.lang.Throwable, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, ArgumentException, OutOfMemoryException, NotSupportedException, CultureNotFoundException, InvalidOperationException, ArgumentOutOfRangeException, ArrayTypeMismatchException, MissingMemberException, InvalidCastException, OverflowException, MissingMethodException, RankException, NullReferenceException, ArgumentNullException, AmbiguousMatchException
java.lang.ThrowablePlatformNotSupportedExceptionIndexOutOfRangeExceptionFormatExceptionArgumentExceptionOutOfMemoryExceptionNotSupportedExceptionCultureNotFoundExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArrayTypeMismatchExceptionMissingMemberExceptionInvalidCastExceptionOverflowExceptionMissingMethodExceptionRankExceptionNullReferenceExceptionArgumentNullExceptionAmbiguousMatchExceptionpublic 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, PlatformNotSupportedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, OutOfMemoryException, ExternalException, IndexOutOfRangeException
public static java.lang.String Command()
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
ArgumentNullException,
RankException,
ArrayTypeMismatchException,
ApplicationException,
NotSupportedException
public static NetObject CreateObject(java.lang.String ProgId, java.lang.String ServerName) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, ArgumentOutOfRangeException, OutOfMemoryException, ArgumentNullException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, ExternalException, MissingMethodException, TargetInvocationException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionFormatExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionArgumentNullExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionExternalExceptionMissingMethodExceptionTargetInvocationExceptionpublic static void DeleteSetting(java.lang.String AppName,
java.lang.String Section,
java.lang.String Key)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
NotSupportedException,
InvalidOperationException,
ObjectDisposedException,
OutOfMemoryException,
ExternalException,
UnauthorizedAccessException,
IndexOutOfRangeException,
ArrayTypeMismatchException,
RankException,
InvalidCastException,
MissingMethodException,
TargetInvocationException,
IOException,
FormatException,
SecurityException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionNotSupportedExceptionInvalidOperationExceptionObjectDisposedExceptionOutOfMemoryExceptionExternalExceptionUnauthorizedAccessExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionRankExceptionInvalidCastExceptionMissingMethodExceptionTargetInvocationExceptionIOExceptionFormatExceptionSecurityExceptionpublic static java.lang.String Environ(int Expression)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
NotSupportedException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException,
OutOfMemoryException,
ExternalException,
ArrayTypeMismatchException,
IndexOutOfRangeException,
RankException,
InvalidCastException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionNotSupportedExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionOutOfMemoryExceptionExternalExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionRankExceptionInvalidCastExceptionpublic static java.lang.String Environ(java.lang.String Expression)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
PlatformNotSupportedException,
CultureNotFoundException,
NullReferenceException,
OutOfMemoryException,
ExternalException,
ArgumentNullException,
FormatException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionCultureNotFoundExceptionNullReferenceExceptionOutOfMemoryExceptionExternalExceptionArgumentNullExceptionFormatExceptionpublic 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, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException, FormatException, OutOfMemoryException, ExternalException, MissingMethodException, TargetInvocationException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionCultureNotFoundExceptionObjectDisposedExceptionIndexOutOfRangeExceptionFormatExceptionOutOfMemoryExceptionExternalExceptionMissingMethodExceptionTargetInvocationExceptionpublic 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,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
NotSupportedException,
InvalidOperationException,
ObjectDisposedException,
OutOfMemoryException,
ExternalException,
IndexOutOfRangeException,
ArrayTypeMismatchException,
RankException,
InvalidCastException,
MissingMethodException,
TargetInvocationException,
SecurityException,
IOException,
UnauthorizedAccessException,
FormatException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionNotSupportedExceptionInvalidOperationExceptionObjectDisposedExceptionOutOfMemoryExceptionExternalExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionRankExceptionInvalidCastExceptionMissingMethodExceptionTargetInvocationExceptionSecurityExceptionIOExceptionUnauthorizedAccessExceptionFormatExceptionpublic 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,
PlatformNotSupportedException,
ArgumentNullException,
TypeLoadException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
ArgumentException,
FormatException,
InvalidOperationException,
FileLoadException,
FileNotFoundException,
NotSupportedException,
CultureNotFoundException,
NullReferenceException,
OutOfMemoryException,
ExternalException
java.lang.ThrowablePlatformNotSupportedExceptionArgumentNullExceptionTypeLoadExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionArgumentExceptionFormatExceptionInvalidOperationExceptionFileLoadExceptionFileNotFoundExceptionNotSupportedExceptionCultureNotFoundExceptionNullReferenceExceptionOutOfMemoryExceptionExternalExceptionpublic static MsgBoxResult MsgBox(NetObject Prompt, MsgBoxStyle Buttons, NetObject Title) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, TypeLoadException, IndexOutOfRangeException, ArgumentOutOfRangeException, ArgumentException, FormatException, InvalidOperationException, FileLoadException, FileNotFoundException, NotSupportedException, CultureNotFoundException, NullReferenceException, OutOfMemoryException, ExternalException
java.lang.ThrowablePlatformNotSupportedExceptionArgumentNullExceptionTypeLoadExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionArgumentExceptionFormatExceptionInvalidOperationExceptionFileLoadExceptionFileNotFoundExceptionNotSupportedExceptionCultureNotFoundExceptionNullReferenceExceptionOutOfMemoryExceptionExternalExceptionpublic static java.lang.String Partition(long Number,
long Start,
long Stop,
long Interval)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
NotSupportedException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException,
OutOfMemoryException,
ExternalException,
FormatException,
ArrayTypeMismatchException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionNotSupportedExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionOutOfMemoryExceptionExternalExceptionFormatExceptionArrayTypeMismatchExceptionpublic static void SaveSetting(java.lang.String AppName,
java.lang.String Section,
java.lang.String Key,
java.lang.String Setting)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
NotSupportedException,
InvalidOperationException,
ObjectDisposedException,
OutOfMemoryException,
ExternalException,
UnauthorizedAccessException,
IndexOutOfRangeException,
RankException,
ArrayTypeMismatchException,
MissingMethodException,
TargetInvocationException,
IOException,
FormatException,
OverflowException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionNotSupportedExceptionInvalidOperationExceptionObjectDisposedExceptionOutOfMemoryExceptionExternalExceptionUnauthorizedAccessExceptionIndexOutOfRangeExceptionRankExceptionArrayTypeMismatchExceptionMissingMethodExceptionTargetInvocationExceptionIOExceptionFormatExceptionOverflowExceptionpublic 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,
PlatformNotSupportedException,
ArgumentNullException,
TypeLoadException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
ArgumentException,
FormatException,
InvalidOperationException,
FileLoadException,
FileNotFoundException,
NotSupportedException,
CultureNotFoundException,
NullReferenceException,
OutOfMemoryException,
ExternalException
java.lang.ThrowablePlatformNotSupportedExceptionArgumentNullExceptionTypeLoadExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionArgumentExceptionFormatExceptionInvalidOperationExceptionFileLoadExceptionFileNotFoundExceptionNotSupportedExceptionCultureNotFoundExceptionNullReferenceExceptionOutOfMemoryExceptionExternalExceptionpublic static NetObject Switch(NetObject... VarExpr) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, OutOfMemoryException, ExternalException, FormatException, OverflowException, InvalidCastException, ArrayTypeMismatchException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionNotSupportedExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionOutOfMemoryExceptionExternalExceptionFormatExceptionOverflowExceptionInvalidCastExceptionArrayTypeMismatchException