Export (0) Print
Expand All

AttributeCollection Members

AttributeCollection overview

Public Constructors

public constructorAttributeCollection Constructor

Supported by the .NET Compact Framework.

Initializes a new instance of the AttributeCollection class.

Public Fields

public fieldstatic (Shared in Visual Basic)Empty

Supported by the .NET Compact Framework.

Specifies an empty collection that you can use, rather than creating a new one. This field is read-only.

Public Properties

public propertyCount

Supported by the .NET Compact Framework.

Gets the number of attributes.
public propertyItem Overloaded. Gets the attribute with the specified index.

In C#, this property is the indexer for the AttributeCollection class.

Public Methods

public methodContains

Supported by the .NET Compact Framework.

Overloaded. Determines whether this collection of attributes has the specified attribute or array of attributes.
public methodCopyTo

Supported by the .NET Compact Framework.

Copies the collection to an array, starting at the specified index.
public methodEquals (inherited from Object)

Supported by the .NET Compact Framework.

Overloaded. Determines whether two Object instances are equal.
public methodGetEnumerator

Supported by the .NET Compact Framework.

Gets an enumerator for this collection.
public methodGetHashCode (inherited from Object)

Supported by the .NET Compact Framework.

Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetType (inherited from Object)

Supported by the .NET Compact Framework.

Gets the Type of the current instance.
public methodMatches

Supported by the .NET Compact Framework.

Overloaded. Determines whether a specified attribute or array of attributes is the same as an attribute or array of attributes in the collection.
public methodToString (inherited from Object)

Supported by the .NET Compact Framework.

Returns a String that represents the current Object.

Protected Methods

protected methodFinalize (inherited from Object)

Supported by the .NET Compact Framework.

Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodGetDefaultAttribute

Supported by the .NET Compact Framework.

Returns the default Attribute of a given Type.
protected methodMemberwiseClone (inherited from Object)

Supported by the .NET Compact Framework.

Creates a shallow copy of the current Object.

See Also

AttributeCollection Class | System.ComponentModel Namespace

Show:
© 2015 Microsoft