共用方式為


MimeTypePropertyAttribute 建構函式

建立 MimeTypePropertyAttribute 的新執行個體。

命名空間:  System.Data.Services.Client
組件:  Microsoft.Data.Services.Client (在 Microsoft.Data.Services.Client.dll 中)

語法

'宣告
Public Sub New ( _
    dataPropertyName As String, _
    mimeTypePropertyName As String _
)
'用途
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
)

參數

  • dataPropertyName
    型別:System.String
    包含新 property 屬性名稱的字串。
  • mimeTypePropertyName
    型別:System.String
    字串,包含新 property 屬性的 Mime 類型。

請參閱

參考

MimeTypePropertyAttribute 類別

System.Data.Services.Client 命名空間