VpnPacketBufferList
VpnPacketBufferList
VpnPacketBufferList
VpnPacketBufferList
Class
Definition
Used to manage VpnPacketBuffer objects.
public : sealed class VpnPacketBufferList : IIterable, IVpnPacketBufferListpublic sealed class VpnPacketBufferList : IEnumerable, IVpnPacketBufferListPublic NotInheritable Class VpnPacketBufferList Implements IEnumerable, IVpnPacketBufferList// This API is not available in Javascript.
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
| Capabilities |
networkingVpnProvider
|
Properties
Size Size Size Size
Gets the number of IVpnPacketBuffer objects in the IVpnPacketBufferList object.
public : unsigned int Size { get; }public uint Size { get; }Public ReadOnly Property Size As uint// This API is not available in Javascript.
- Value
- unsigned int uint uint uint
Number of IVpnPacketBuffer objects.
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
| Capabilities |
networkingVpnProvider
|
Status Status Status Status
Gets the status of VpnPacketBuffer. The status property may be used to report errors when manipulating the IVpnPacketBufferList.
public : VpnPacketBufferStatus Status { get; set; }public VpnPacketBufferStatus Status { get; set; }Public ReadWrite Property Status As VpnPacketBufferStatus// This API is not available in Javascript.
An enum value indicating the status of a VpnPacketBuffer object. The default value is 0, indicating there are no errors.
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
| Capabilities |
networkingVpnProvider
|
Methods
AddAtBegin(VpnPacketBuffer) AddAtBegin(VpnPacketBuffer) AddAtBegin(VpnPacketBuffer) AddAtBegin(VpnPacketBuffer)
Not supported. Add a new IVpnPacketBuffer object to the start of the IVpnPacketBufferList.
public : void AddAtBegin(VpnPacketBuffer nextVpnPacketBuffer)public void AddAtBegin(VpnPacketBuffer nextVpnPacketBuffer)Public Function AddAtBegin(nextVpnPacketBuffer As VpnPacketBuffer) As void// This API is not available in Javascript.
- nextVpnPacketBuffer
- VpnPacketBuffer VpnPacketBuffer VpnPacketBuffer VpnPacketBuffer
The new IVpnPacketBuffer object to add to the IVpnPacketBufferList object.
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
| Capabilities |
networkingVpnProvider
|
Append(VpnPacketBuffer) Append(VpnPacketBuffer) Append(VpnPacketBuffer) Append(VpnPacketBuffer)
Not supported. Add a new IVpnPacketBuffer object to the end of the IVpnPacketBufferList.
public : void Append(VpnPacketBuffer nextVpnPacketBuffer)public void Append(VpnPacketBuffer nextVpnPacketBuffer)Public Function Append(nextVpnPacketBuffer As VpnPacketBuffer) As void// This API is not available in Javascript.
- nextVpnPacketBuffer
- VpnPacketBuffer VpnPacketBuffer VpnPacketBuffer VpnPacketBuffer
The new IVpnPacketBuffer object to add to the IVpnPacketBufferList object.
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
| Capabilities |
networkingVpnProvider
|
Clear() Clear() Clear() Clear()
Not supported. Removes all the IVpnPacketBuffer objects from a IVpnPacketBufferList.
public : void Clear()public void Clear()Public Function Clear() As void// This API is not available in Javascript.
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
| Capabilities |
networkingVpnProvider
|
First() First() First() First()
Not supported. Provides access to the First parameter. This SDK programming element is introduced in Windows PowerShell 3.0.
public : IIterator<VpnPacketBuffer> First()This member is not implemented in C#This member is not implemented in VB.Net// This API is not available in Javascript.
Returns IVpnPacketBuffer.
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
| 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
GetEnumerator() GetEnumerator() GetEnumerator() GetEnumerator()
Returns an enumerator that iterates through the collection.
This member is not implemented in C++IEnumerator<T> GetEnumerator()Function GetEnumerator As IEnumerator(Of T)IEnumerator<T> GetEnumerator()
An enumerator that can be used to iterate through the collection.
RemoveAtBegin() RemoveAtBegin() RemoveAtBegin() RemoveAtBegin()
Not supported. Remove the IVpnPacketBuffer object at the start of the IVpnPacketBufferList.
public : VpnPacketBuffer RemoveAtBegin()public VpnPacketBuffer RemoveAtBegin()Public Function RemoveAtBegin() As VpnPacketBuffer// This API is not available in Javascript.
The IVpnPacketBuffer object which was at the start of the IVpnPacketBufferList.
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
| Capabilities |
networkingVpnProvider
|
RemoveAtEnd() RemoveAtEnd() RemoveAtEnd() RemoveAtEnd()
Not supported. Remove the IVpnPacketBuffer object at the end of the IVpnPacketBufferList.
public : VpnPacketBuffer RemoveAtEnd()public VpnPacketBuffer RemoveAtEnd()Public Function RemoveAtEnd() As VpnPacketBuffer// This API is not available in Javascript.
The IVpnPacketBuffer object which was at the end of the IVpnPacketBufferList.
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
| Capabilities |
networkingVpnProvider
|