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
    包含新属性特性的名称的字符串。
  • mimeTypePropertyName
    类型:System.String
    包含新属性特性的 Mime 类型的字符串。

请参阅

参考

MimeTypePropertyAttribute 类

System.Data.Services.Client 命名空间