ResourceSet 建構函式
建立實體類型值的新集合。
命名空間: System.Data.Services.Providers
組件: Microsoft.Data.Services (在 Microsoft.Data.Services.dll 中)
語法
'宣告
Public Sub New ( _
name As String, _
elementType As ResourceType _
)
'用途
Dim name As String
Dim elementType As ResourceType
Dim instance As New ResourceSet(name, elementType)
public ResourceSet(
string name,
ResourceType elementType
)
public:
ResourceSet(
String^ name,
ResourceType^ elementType
)
new :
name:string *
elementType:ResourceType -> ResourceSet
public function ResourceSet(
name : String,
elementType : ResourceType
)
參數
- name
型別:System.String
當做字串之項目集的名稱。
- elementType
型別:System.Data.Services.Providers.ResourceType
集合中項目的 ResourceType。