다음을 통해 공유


Item Property (RootNode)

Topic Last Modified: 2006-06-13

The Item property returns the BodyPart object specified by the index. This property is read-only.

Applies To

RootNode Interface

Syntax

Property Item(Index As Variant) As RootNode
HRESULT get_Item(VARIANT* Index, _RootNode** pVal);

Parameters

  • Index
    Returns the value of the collection index as a reference to a VARIANT.
  • pVal
    Returned reference to a _RootNode Interface.

Remarks

Item is the default member on the interface.

Example

The following example enumerates the RootNodes collection using the Item property.

      

Dim rns As RootNodes
Set rns = EXTV1.GetRootNodes
For x = 1 To rns.Count
   MsgBox rns.Item(x).url