VpnPacketBufferList.First Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides access to the First parameter. This SDK programming element is introduced in Windows PowerShell 3.0.
public:
virtual IIterator<VpnPacketBuffer ^> ^ First() = IIterable<VpnPacketBuffer ^>::First;
IIterator<VpnPacketBuffer> First();
public IIterator<VpnPacketBuffer> First();
function first()
Public Function First () As IIterator(Of VpnPacketBuffer)
Returns
Returns IVpnPacketBuffer.
Implements
Windows requirements
App capabilities |
networkingVpnProvider
|
Remarks
You can iterate through a VpnPacketBufferList in C# or Microsoft Visual Basic. In many cases, such as using foreach syntax, the compiler does this casting for you and you won't need to cast to IEnumerable<VpnPacketBuffer>
explicitly. If you do need to cast explicitly, for example if you want to call GetEnumerator, cast to IEnumerable with a VpnPacketBuffer constraint.