MimeTypePropertyAttribute Constructor

Creates a new instance of the 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
)

Parameters

  • dataPropertyName
    Type: System.String
    A string that contains the name of the new property attribute.
  • mimeTypePropertyName
    Type: System.String
    A string that contains the Mime type of the new property attribute.

See Also

Reference

MimeTypePropertyAttribute Class

System.Data.Services.Client Namespace