public class Clipboard extends NetObject
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Windows.Forms.Clipboard
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.Windows.Forms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: System.Windows.Forms
|
static java.lang.String |
className
Qualified class name: System.Windows.Forms.Clipboard
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
Clipboard() |
Clipboard(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static Clipboard |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into Clipboard, a cast assert is made to check if types are compatible. |
static void |
Clear()
Invokes the .NET member Clear.
|
static boolean |
ContainsAudio()
Invokes the .NET member ContainsAudio.
|
static boolean |
ContainsData(java.lang.String format)
Invokes the .NET member ContainsData.
|
static boolean |
ContainsFileDropList()
Invokes the .NET member ContainsFileDropList.
|
static boolean |
ContainsImage()
Invokes the .NET member ContainsImage.
|
static boolean |
ContainsText()
Invokes the .NET member ContainsText.
|
static boolean |
ContainsText(TextDataFormat format)
Invokes the .NET member ContainsText.
|
static Stream |
GetAudioStream()
Invokes the .NET member GetAudioStream.
|
static NetObject |
GetData(java.lang.String format)
Invokes the .NET member GetData.
|
static IDataObject |
GetDataObject()
Invokes the .NET member GetDataObject.
|
static StringCollection |
GetFileDropList()
Invokes the .NET member GetFileDropList.
|
static Image |
GetImage()
Invokes the .NET member GetImage.
|
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. |
static java.lang.String |
GetText()
Invokes the .NET member GetText.
|
static java.lang.String |
GetText(TextDataFormat format)
Invokes the .NET member GetText.
|
static void |
SetAudio(byte[] audioBytes)
Invokes the .NET member SetAudio.
|
static void |
SetAudio(JCORefOut dupParam0)
Invokes the .NET member SetAudio.
|
static void |
SetAudio(Stream audioStream)
Invokes the .NET member SetAudio.
|
static void |
SetData(java.lang.String format,
NetObject data)
Invokes the .NET member SetData.
|
static void |
SetDataObject(NetObject data)
Invokes the .NET member SetDataObject.
|
static void |
SetDataObject(NetObject data,
boolean copy)
Invokes the .NET member SetDataObject.
|
static void |
SetDataObject(NetObject data,
boolean copy,
int retryTimes,
int retryDelay)
Invokes the .NET member SetDataObject.
|
static void |
SetFileDropList(StringCollection filePaths)
Invokes the .NET member SetFileDropList.
|
static void |
SetImage(Image image)
Invokes the .NET member SetImage.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
static void |
SetText(java.lang.String text)
Invokes the .NET member SetText.
|
static void |
SetText(java.lang.String text,
TextDataFormat format)
Invokes the .NET member SetText.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public Clipboard()
throws java.lang.Throwable
java.lang.Throwablepublic Clipboard(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 static Clipboard cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into Clipboard, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedClipboard instancejava.lang.Throwable - in case of error during cast operationpublic static void Clear()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentException,
IndexOutOfRangeException,
PlatformNotSupportedException,
ArgumentNullException,
InvalidOperationException,
ThreadStateException,
FormatException,
ExternalException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itThreadStateException - if the .NET member raises itFormatException - if the .NET member raises itExternalException - if the .NET member raises itpublic static boolean ContainsAudio()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
IndexOutOfRangeException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
ThreadStateException,
ExternalException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itThreadStateException - if the .NET member raises itExternalException - if the .NET member raises itpublic static boolean ContainsData(java.lang.String format)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
PlatformNotSupportedException,
ArgumentNullException,
ThreadStateException,
ExternalException
format - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itThreadStateException - if the .NET member raises itExternalException - if the .NET member raises itpublic static boolean ContainsFileDropList()
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
ThreadStateException,
ExternalException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itThreadStateException - if the .NET member raises itExternalException - if the .NET member raises itpublic static boolean ContainsImage()
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
ThreadStateException,
ExternalException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itThreadStateException - if the .NET member raises itExternalException - if the .NET member raises itpublic static boolean ContainsText()
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
InvalidOperationException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
FormatException,
InvalidEnumArgumentException,
ThreadStateException,
ExternalException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itThreadStateException - if the .NET member raises itExternalException - if the .NET member raises itpublic static boolean ContainsText(TextDataFormat format) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, InvalidEnumArgumentException, ThreadStateException, ExternalException
format - the argument of type TextDataFormatjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itThreadStateException - if the .NET member raises itExternalException - if the .NET member raises itpublic static Stream GetAudioStream() throws java.lang.Throwable, NotSupportedException, ArgumentException, IndexOutOfRangeException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, ThreadStateException, ExternalException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itThreadStateException - if the .NET member raises itExternalException - if the .NET member raises itpublic static NetObject GetData(java.lang.String format) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentNullException, ThreadStateException, ExternalException
format - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itThreadStateException - if the .NET member raises itExternalException - if the .NET member raises itpublic static IDataObject GetDataObject() throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, InvalidOperationException, RankException, ArrayTypeMismatchException, OverflowException, FormatException, ThreadStateException, ExternalException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itOverflowException - if the .NET member raises itFormatException - if the .NET member raises itThreadStateException - if the .NET member raises itExternalException - if the .NET member raises itpublic static StringCollection GetFileDropList() throws java.lang.Throwable, ArgumentException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, ThreadStateException, ExternalException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itThreadStateException - if the .NET member raises itExternalException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic static Image GetImage() throws java.lang.Throwable, ArgumentException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, ThreadStateException, ExternalException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itThreadStateException - if the .NET member raises itExternalException - if the .NET member raises itpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectpublic static java.lang.String GetText()
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
InvalidOperationException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
FormatException,
InvalidEnumArgumentException,
ThreadStateException,
ExternalException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itThreadStateException - if the .NET member raises itExternalException - if the .NET member raises itpublic static java.lang.String GetText(TextDataFormat format) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, InvalidEnumArgumentException, ThreadStateException, ExternalException
format - the argument of type TextDataFormatjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itThreadStateException - if the .NET member raises itExternalException - if the .NET member raises itpublic static void SetAudio(byte[] audioBytes)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
ThreadStateException,
PlatformNotSupportedException,
FormatException,
ExternalException
audioBytes - the argument of type byte[]java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itThreadStateException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itExternalException - if the .NET member raises itpublic static void SetAudio(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, ThreadStateException, PlatformNotSupportedException, FormatException, ExternalException
dupParam0 - the argument of type JCORefOutjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itThreadStateException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itExternalException - if the .NET member raises itpublic static void SetAudio(Stream audioStream) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, ThreadStateException, FormatException, ExternalException
audioStream - the argument of type Streamjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itThreadStateException - if the .NET member raises itFormatException - if the .NET member raises itExternalException - if the .NET member raises itpublic static void SetData(java.lang.String format,
NetObject data)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
ThreadStateException,
FormatException,
ExternalException
format - the argument of type java.lang.Stringdata - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itThreadStateException - if the .NET member raises itFormatException - if the .NET member raises itExternalException - if the .NET member raises itpublic static void SetDataObject(NetObject data) throws java.lang.Throwable, ArgumentException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, ThreadStateException, IndexOutOfRangeException, FormatException, ExternalException
data - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itThreadStateException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itExternalException - if the .NET member raises itpublic static void SetDataObject(NetObject data, boolean copy) throws java.lang.Throwable, ArgumentException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ThreadStateException, ExternalException
data - the argument of type NetObjectcopy - the argument of type booleanjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itThreadStateException - if the .NET member raises itExternalException - if the .NET member raises itpublic static void SetDataObject(NetObject data, boolean copy, int retryTimes, int retryDelay) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ThreadStateException, ArgumentOutOfRangeException, ExternalException
data - the argument of type NetObjectcopy - the argument of type booleanretryTimes - the argument of type intretryDelay - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itThreadStateException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itExternalException - if the .NET member raises itpublic static void SetFileDropList(StringCollection filePaths) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, ThreadStateException, ExternalException
filePaths - the argument of type StringCollectionjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itThreadStateException - if the .NET member raises itExternalException - if the .NET member raises itpublic static void SetImage(Image image) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, ThreadStateException, FormatException, ExternalException
image - the argument of type Imagejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itThreadStateException - if the .NET member raises itFormatException - if the .NET member raises itExternalException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class NetObjectinstance - the new underlying objectpublic static void SetText(java.lang.String text)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
FormatException,
InvalidEnumArgumentException,
ThreadStateException,
ExternalException
text - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itThreadStateException - if the .NET member raises itExternalException - if the .NET member raises itpublic static void SetText(java.lang.String text,
TextDataFormat format)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
FormatException,
InvalidEnumArgumentException,
ThreadStateException,
ExternalException
text - the argument of type java.lang.Stringformat - the argument of type TextDataFormatjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itThreadStateException - if the .NET member raises itExternalException - if the .NET member raises it