IVMVirtualNetworkCollection 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 IVMVirtualNetwork objects. To obtain an IVMVirtualNetworkCollection object, use the IVMVirtualPC::VirtualNetworks property.

Members

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

Properties

The IVMVirtualNetworkCollection interface has these properties.

Property Access type Description
_NewEnum
Read-only
An enumerator for the collection.
Count
Read-only
The number of virtual networks in this collection.
Item
Read-only
The IVMVirtualNetwork 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_IVMVirtualNetworkCollection is defined as 8ed680be-4242-4b2a-a21c-1982d8b0f675