IListContract<C> Interface

 

Represents a generic collection of IContract objects that can be individually accessed by index.

Namespace:   System.AddIn.Contract.Collections
Assembly:  System.AddIn.Contract (in System.AddIn.Contract.dll)

generic<typename C>
where C : IContract
public interface class IListContract : ICollectionContract<C>, 
	IEnumerableContract<C>, IContract

Type Parameters

C

The type of objects in the list. C must implement the IContract interface.

NameDescription
System_CAPS_pubmethodAcquireLifetimeToken()

Specifies that the contract is accessible to a client until the client revokes the contract.(Inherited from IContract.)

System_CAPS_pubmethodAdd(C)
System_CAPS_pubmethodClear()

Removes all elements from the ICollectionContract<C>.(Inherited from ICollectionContract<C>.)

System_CAPS_pubmethodContains(C)

Returns a value that indicates whether the specified IContract is in the ICollectionContract<C>.(Inherited from ICollectionContract<C>.)

System_CAPS_pubmethodCopyTo(array<C>^, Int32)

Copies the entire ICollectionContract<C> to a compatible one-dimensional array, starting at the specified index of the target array. (Inherited from ICollectionContract<C>.)

System_CAPS_pubmethodGetCount()

Returns the number of elements contained in the ICollectionContract<C>.(Inherited from ICollectionContract<C>.)

System_CAPS_pubmethodGetEnumeratorContract()

Returns an enumerator that iterates through the collection.(Inherited from IEnumerableContract<C>.)

System_CAPS_pubmethodGetIsReadOnly()

Returns a value that indicates whether the ICollectionContract<C> is read-only.(Inherited from ICollectionContract<C>.)

System_CAPS_pubmethodGetItem(Int32)

Returns the element at the specified index.

System_CAPS_pubmethodGetRemoteHashCode()

Returns a hash code for the IContract.(Inherited from IContract.)

System_CAPS_pubmethodIndexOf(C)

Returns the index of a specific element in the IListContract<C>.

System_CAPS_pubmethodInsert(Int32, C)

Inserts an element in the IListContract<C> at the specified index.

System_CAPS_pubmethodQueryContract(String^)

Returns a contract that is implemented by this contract.(Inherited from IContract.)

System_CAPS_pubmethodRemoteEquals(IContract^)

Indicates whether the specified contract is equal to this IContract.(Inherited from IContract.)

System_CAPS_pubmethodRemoteToString()

Returns a string representation of the current IContract.(Inherited from IContract.)

System_CAPS_pubmethodRemove(C)

Removes the first occurrence of a specific IContract from the ICollectionContract<C>.(Inherited from ICollectionContract<C>.)

System_CAPS_pubmethodRemoveAt(Int32)

Removes the element at the specified index.

System_CAPS_pubmethodRevokeLifetimeToken(Int32)

Specifies that the contract is no longer accessible to a client.(Inherited from IContract.)

System_CAPS_pubmethodSetItem(Int32, C)

Replaces the element at the specified index.

.NET Framework
Available since 3.5
Return to top
Show: