public class NameValueCollection extends NameObjectCollectionBase
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Collections.Specialized.NameValueCollection
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.Collections.Specialized, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Collections.Specialized
|
static java.lang.String |
className
Qualified class name: System.Collections.Specialized.NameValueCollection
|
static JCType |
classType
The type managed from JCOBridge.
|
Null| Constructor and Description |
|---|
NameValueCollection() |
NameValueCollection(IEqualityComparer equalityComparer) |
NameValueCollection(IHashCodeProvider hashProvider,
IComparer comparer) |
NameValueCollection(int capacity) |
NameValueCollection(int capacity,
IEqualityComparer equalityComparer) |
NameValueCollection(int capacity,
IHashCodeProvider hashProvider,
IComparer comparer) |
NameValueCollection(int capacity,
NameValueCollection col) |
NameValueCollection(NameValueCollection col) |
NameValueCollection(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Add(NameValueCollection c) |
void |
Add(java.lang.String name,
java.lang.String value) |
static NameValueCollection |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into NameValueCollection, a cast assert is made to check if types are compatible. |
void |
Clear() |
void |
CopyTo(Array dest,
int index) |
java.lang.String |
Get(int index) |
java.lang.String |
Get(java.lang.String name) |
java.lang.String[] |
getAllKeys() |
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
|
java.lang.String |
GetKey(int index) |
java.lang.String[] |
GetValues(int index) |
java.lang.String[] |
GetValues(java.lang.String name) |
boolean |
HasKeys() |
void |
Remove(java.lang.String name) |
void |
Set(java.lang.String name,
java.lang.String value) |
void |
setJCOInstance(JCObject instance) |
getCount, GetObjectData, OnDeserializationGetEnumerator, iteratorEquals, Equals, GetHashCode, GetType, hashCode, toString, ToStringToIEnumerablepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public NameValueCollection()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentException,
IndexOutOfRangeException,
PlatformNotSupportedException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionpublic NameValueCollection(IEqualityComparer equalityComparer) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, NotSupportedException, PlatformNotSupportedException, IndexOutOfRangeException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionNotSupportedExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionpublic NameValueCollection(IHashCodeProvider hashProvider, IComparer comparer) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, NotSupportedException, PlatformNotSupportedException, IndexOutOfRangeException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionNotSupportedExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionpublic NameValueCollection(int capacity)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
IndexOutOfRangeException
public NameValueCollection(int capacity,
IEqualityComparer equalityComparer)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentException,
IndexOutOfRangeException,
PlatformNotSupportedException,
ArgumentNullException,
InvalidOperationException,
FormatException
public NameValueCollection(int capacity,
IHashCodeProvider hashProvider,
IComparer comparer)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
IndexOutOfRangeException
public NameValueCollection(int capacity,
NameValueCollection col)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
ArrayTypeMismatchException,
CultureNotFoundException,
ObjectDisposedException
public NameValueCollection(NameValueCollection col) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, NotSupportedException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentNullException, RankException, ArrayTypeMismatchException, InvalidCastException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionNotSupportedExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionArgumentNullExceptionRankExceptionArrayTypeMismatchExceptionInvalidCastExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionpublic NameValueCollection(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic void Add(NameValueCollection c) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException
public void Add(java.lang.String name,
java.lang.String value)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException,
IndexOutOfRangeException,
RankException,
ArrayTypeMismatchException,
InvalidCastException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionRankExceptionArrayTypeMismatchExceptionInvalidCastExceptionpublic static NameValueCollection cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into NameValueCollection, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedNameValueCollection instancejava.lang.Throwable - in case of error during cast operationpublic void Clear()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException
public void CopyTo(Array dest, int index) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, OutOfMemoryException, IndexOutOfRangeException, InvalidCastException
CopyTo in class NameObjectCollectionBasejava.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionInvalidCastExceptionpublic java.lang.String Get(int index)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
OutOfMemoryException
public java.lang.String Get(java.lang.String name)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
ArgumentException,
OutOfMemoryException
public java.lang.String[] getAllKeys()
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException
public java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NameObjectCollectionBaseString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NameObjectCollectionBaseString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NameObjectCollectionBaseObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NameObjectCollectionBaseString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NameObjectCollectionBaseJCType representing the CLR Type of the instantiated Classpublic java.lang.String GetKey(int index)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException
public java.lang.String[] GetValues(int index)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException
public java.lang.String[] GetValues(java.lang.String name)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentOutOfRangeException,
ArgumentException,
PlatformNotSupportedException,
RankException,
IndexOutOfRangeException,
ArrayTypeMismatchException,
InvalidCastException
public boolean HasKeys()
throws java.lang.Throwable
java.lang.Throwablepublic void Remove(java.lang.String name)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
ArrayTypeMismatchException,
InvalidCastException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionInvalidCastExceptionpublic void Set(java.lang.String name,
java.lang.String value)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException,
IndexOutOfRangeException,
RankException,
ArrayTypeMismatchException,
InvalidCastException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionRankExceptionArrayTypeMismatchExceptionInvalidCastExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class NameObjectCollectionBase