| Visual Basic (Declaration) | |
|---|---|
Public Shadows Default Property Item( _ ByVal index As Integer _ ) As MimeAttachmentStream | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As MimeAttachmentStreams Dim index As Integer Dim value As MimeAttachmentStream instance.Item(index) = value value = instance.Item(index) | |
| C# | |
|---|---|
public new MimeAttachmentStream this( int index ) {get; set;} | |
| Managed Extensions for C++ | |
|---|---|
public: __property new MimeAttachmentStream* get_Item( int index ); public: __property new void set_Item( int index, MimeAttachmentStream* value ); | |
| C++/CLI | |
|---|---|
public: new property MimeAttachmentStream^ default [int] { MimeAttachmentStream^ get(intindex); void set (intindex, MimeAttachmentStream^value); } | |
Parameters
- index
- The zero-based index of the element to get or set.
Property Value
The element at the specified index.| Exception | Description |
|---|---|
| System.ArgumentOutOfRangeException | Index is less than zero. -or-Index is equal to or greater than Count. |
This property provides the ability to access a specific element in the collection by using the following syntax:
myCollection[Index]
Note, intellisense may not work on members of objects referenced by using this indexer. If you would like intellisense to work, get the object referenced by the indexer into it's own variable.
Target Platforms: Microsoft .NET Framework 2.0
Copy Code