| Visual Basic (Declaration) | |
|---|---|
Public Shadows ReadOnly Default Property Item( _ ByVal type As HeaderLabelType _ ) As String | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As MailHeader Dim type As HeaderLabelType Dim value As String value = instance.Item(type) | |
| C# | |
|---|---|
public new string this( HeaderLabelType type ) {get;} | |
| Managed Extensions for C++ | |
|---|---|
public: __property new string* get_Item( HeaderLabelType type ); | |
| C++/CLI | |
|---|---|
public: new property String^ default [HeaderLabelType] { String^ get(HeaderLabelTypetype); } | |
Parameters
- type
- The HeaderLabelType of the header value to get or set.
Property Value
The element at the specified index.The following example demonstrates
| Visual Basic | Copy Code |
|---|---|
' Be sure to import the namespace by putting "Imports Dart.PowerTCP.Mail"
' at the top of your class. | |
| C# | Copy Code |
|---|---|
// Be sure to import the namespace by putting "using Dart.PowerTCP.Mail;"
// at the top of your class. | |
This property provides the ability to access a specific element in the collection by using the following syntax: myCollection[HeaderLabelType].
Target Platforms: Microsoft .NET Framework 2.0
Copy Code