HelpPageSampleKey(MediaTypeHeaderValue, SampleDirection, String, String, IEnumerable<String>) Constructor

Creates a new HelpPageSampleKey based on media type, SampleDirection, controller name, action name and parameter names.
Public Sub New( _ 
ByVal mediaType As MediaTypeHeaderValue, _ 
ByVal sampleDirection As SampleDirection, _ 
ByVal controllerName As String, _ 
ByVal actionName As String, _ 
ByVal parameterNames As IEnumerable(Of String) _ 
)
This language is not supported or no code example is available.
public HelpPageSampleKey( 
MediaTypeHeaderValue mediaType
SampleDirection sampleDirection
string controllerName
string actionName
IEnumerable<string> parameterNames 
)
This language is not supported or no code example is available.
public:  
HelpPageSampleKey( 
MediaTypeHeaderValue^ mediaType
SampleDirection sampleDirection
String^ controllerName
String^ actionName
IEnumerable<String^>^ parameterNames 
)
This language is not supported or no code example is available.
JScript does not support generic types and methods.
This language is not supported or no code example is available.

Parameters

mediaType
MediaTypeHeaderValue

The media type.

sampleDirection
SampleDirection

The SampleDirection.

controllerName
string

Name of the controller.

actionName
string

Name of the action.

parameterNames
IEnumerable<string>

The parameter names.

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8

In this article

Definition