Freigeben über


MimeTypePropertyAttribute-Konstruktor

erstellt eine neue Instanz von MimeTypePropertyAttribute.

Namespace:  System.Data.Services.Client
Assembly:  Microsoft.Data.Services.Client (in Microsoft.Data.Services.Client.dll)

Syntax

'Declaration
Public Sub New ( _
    dataPropertyName As String, _
    mimeTypePropertyName As String _
)
'Usage
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
)

Parameter

  • dataPropertyName
    Typ: System.String
    Eine Zeichenfolge mit dem neuen Namen der Eigenschaft.
  • mimeTypePropertyName
    Typ: System.String
    Eine Zeichenfolge mit dem Mime-Typ der Eigenschaft.

Siehe auch

Verweis

MimeTypePropertyAttribute Klasse

System.Data.Services.Client-Namespace