C-DEngine 5.105

WebHeaderCollection..::..GetKey Method

Get the name of the header at the specified index in the collection.

Namespace:  WebSocketSharp.Net
Assembly:  C-DEngine (in C-DEngine.dll)

Syntax


public string GetKey(
	int index
)
Public Function GetKey ( _
	index As Integer _
) As String
public:
String^ GetKey(
	int^ index
)

Parameters

index
Type: Int32
An Int32 that represents the zero-based index of the header to find.

Return Value

A String that receives the header name.

Exceptions


ExceptionCondition
ArgumentOutOfRangeExceptionindex is out of allowable range of indexes for the collection.