_UserDefinedProperties.Item Property

Returns an Object from the collection.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
<DispIdAttribute()> _
ReadOnly Default Property Item ( _
    Index As Object _
) As UserDefinedProperty
    Get
'Usage
Dim instance As _UserDefinedProperties
Dim Index As Object
Dim value As UserDefinedProperty

value = instance(Index)
[DispIdAttribute()]
UserDefinedProperty this[
    Object Index
] { get; }

Parameters

  • Index
    Type: System.Object

    Either an Integer (int in C#) value that represents the 1-based index number of an object in the collection, or a String (string in C#) value that represents the Name property value of an object in the collection.

Property Value

Type: Microsoft.Office.Interop.Outlook.UserDefinedProperty
A UserDefinedProperty object that represents the specified object.

See Also

Reference

_UserDefinedProperties Interface

_UserDefinedProperties Members

Microsoft.Office.Interop.Outlook Namespace