Rediger

Del via


IVMNetworkAdapterCollection interface

[Windows Virtual PC is no longer available for use as of Windows 8. Instead, use the Hyper-V WMI provider (V2).]

Defines a collection of virtual network interface cards. To obtain an IVMNetworkAdapterCollection object, use the IVMVirtualMachine::NetworkAdapters, IVMVirtualNetwork::NetworkAdapters, and IVMVirtualPC::UnconnectedNetworkAdapters properties.

Members

The IVMNetworkAdapterCollection interface inherits from the IDispatch interface. IVMNetworkAdapterCollection also has these types of members:

Properties

The IVMNetworkAdapterCollection interface has these properties.

Property Access type Description
_NewEnum
Read-only
An enumerator for the collection.
Count
Read-only
The number of network interfaces in this collection.
Item
Read-only
The IVMNetworkAdapter object that corresponds to the specified index.

Requirements

Requirement Value
Minimum supported client
Windows 7 [desktop apps only]
Minimum supported server
None supported
End of client support
Windows 7
Product
Windows Virtual PC
Header
VPCCOMInterfaces.h
IID
IID_IVMNetworkAdapterCollection is defined as ebaeafe9-ebcd-47cf-866e-ad87d735e479

See also

IVMNetworkAdapter

IVMVirtualMachine::NetworkAdapters

IVMVirtualNetwork::NetworkAdapters

IVMVirtualPC::UnconnectedNetworkAdapters