创建实体类型值的新集合。
命名空间: 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。