Compartir a través de


MimeTypePropertyAttribute Constructor

Crea una nueva instancia de MimeTypePropertyAttribute.

Espacio de nombres:  System.Data.Services.Client
Ensamblado:  Microsoft.Data.Services.Client (en Microsoft.Data.Services.Client.dll)

Sintaxis

'Declaración
Public Sub New ( _
    dataPropertyName As String, _
    mimeTypePropertyName As String _
)
'Uso
Dim dataPropertyName As String
Dim mimeTypePropertyName As String

Dim instance As New MimeTypePropertyAttribute(dataPropertyName, _
    mimeTypePropertyName)
public MimeTypePropertyAttribute(
    string dataPropertyName,
    string mimeTypePropertyName
)
public:
MimeTypePropertyAttribute(
    String^ dataPropertyName, 
    String^ mimeTypePropertyName
)
new : 
        dataPropertyName:string * 
        mimeTypePropertyName:string -> MimeTypePropertyAttribute
public function MimeTypePropertyAttribute(
    dataPropertyName : String, 
    mimeTypePropertyName : String
)

Parámetros

  • dataPropertyName
    Tipo: System.String
    Una cadena que contiene el nombre del nuevo atributo de la propiedad.
  • mimeTypePropertyName
    Tipo: System.String
    Una cadena que contiene el tipo Mime del nuevo atributo de la propiedad.

Vea también

Referencia

MimeTypePropertyAttribute Clase

Espacio de nombres System.Data.Services.Client