MediaType Construtores
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
MediaType(StringSegment) |
Inicializa uma instância MediaType. |
MediaType(String) |
Inicializa uma instância MediaType. |
MediaType(String, Int32, Nullable<Int32>) |
Inicializa uma instância Microsoft.AspNetCore.Mvc.Formatters.MediaType.MediaTypeParameterParser. |
MediaType(StringSegment)
- Origem:
- MediaType.cs
- Origem:
- MediaType.cs
- Origem:
- MediaType.cs
Inicializa uma instância MediaType.
public:
MediaType(Microsoft::Extensions::Primitives::StringSegment mediaType);
public MediaType (Microsoft.Extensions.Primitives.StringSegment mediaType);
new Microsoft.AspNetCore.Mvc.Formatters.MediaType : Microsoft.Extensions.Primitives.StringSegment -> Microsoft.AspNetCore.Mvc.Formatters.MediaType
Public Sub New (mediaType As StringSegment)
Parâmetros
- mediaType
- StringSegment
O StringSegment com o tipo de mídia.
Aplica-se a
MediaType(String)
- Origem:
- MediaType.cs
- Origem:
- MediaType.cs
- Origem:
- MediaType.cs
Inicializa uma instância MediaType.
public:
MediaType(System::String ^ mediaType);
public MediaType (string mediaType);
new Microsoft.AspNetCore.Mvc.Formatters.MediaType : string -> Microsoft.AspNetCore.Mvc.Formatters.MediaType
Public Sub New (mediaType As String)
Parâmetros
Aplica-se a
MediaType(String, Int32, Nullable<Int32>)
- Origem:
- MediaType.cs
- Origem:
- MediaType.cs
- Origem:
- MediaType.cs
Inicializa uma instância Microsoft.AspNetCore.Mvc.Formatters.MediaType.MediaTypeParameterParser.
public:
MediaType(System::String ^ mediaType, int offset, Nullable<int> length);
public MediaType (string mediaType, int offset, int? length);
new Microsoft.AspNetCore.Mvc.Formatters.MediaType : string * int * Nullable<int> -> Microsoft.AspNetCore.Mvc.Formatters.MediaType
Public Sub New (mediaType As String, offset As Integer, length As Nullable(Of Integer))
Parâmetros
- offset
- Int32
O deslocamento no em mediaType
que a análise é iniciada.
Aplica-se a
Comentários
https://aka.ms/ContentUserFeedback.
Em breve: Ao longo de 2024, eliminaremos os problemas do GitHub como o mecanismo de comentários para conteúdo e o substituiremos por um novo sistema de comentários. Para obter mais informações, consulteEnviar e exibir comentários de