返回为集合将使用类型的列表,在生成 windows communication foundation (WCF) 客户端时。
命名空间: Microsoft.VisualStudio.WCFReference.Interop
程序集: Microsoft.VisualStudio.WCFReference.Interop(在 Microsoft.VisualStudio.WCFReference.Interop.dll 中)
语法
声明
Sub GetCollectionMappings ( _
category As CollectionCategory, _
cItems As Integer, _
<OutAttribute> rgbstrCollectionMappings As String() _
)
void GetCollectionMappings(
CollectionCategory category,
int cItems,
string[] rgbstrCollectionMappings
)
void GetCollectionMappings(
[InAttribute] CollectionCategory category,
[InAttribute] int cItems,
[OutAttribute] array<String^>^ rgbstrCollectionMappings
)
abstract GetCollectionMappings :
category:CollectionCategory *
cItems:int *
rgbstrCollectionMappings:string[] byref -> unit
function GetCollectionMappings(
category : CollectionCategory,
cItems : int,
rgbstrCollectionMappings : String[]
)
参数
cItems
类型:Int32表示映射的 Integer 。
rgbstrCollectionMappings
类型:array<String[]包含映射的 String 。
备注
类型是基于其方式选择 heuristically 最匹配架构类型。 集合映射在三个类别中保留,这可能会影响设计时用户界面如何显示此信息给用户。 所有三个类别在生成代理时被视为相同。
GetCollectionMappings 返回的值确定在 集合类型 显示,并 字典集合类型 在 配置服务引用 对话框中。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。