MimeTypePropertyAttribute(String, String) 建構函式

定義

建立 MimeTypePropertyAttribute 的新執行個體。

public:
 MimeTypePropertyAttribute(System::String ^ dataPropertyName, System::String ^ mimeTypePropertyName);
public MimeTypePropertyAttribute (string dataPropertyName, string mimeTypePropertyName);
new System.Data.Services.Client.MimeTypePropertyAttribute : string * string -> System.Data.Services.Client.MimeTypePropertyAttribute
Public Sub New (dataPropertyName As String, mimeTypePropertyName As String)

參數

dataPropertyName
String

字串,其中包含新 property 屬性的名稱。

mimeTypePropertyName
String

字串,包含新 property 屬性的 Mime 類型。

適用於