IVsWCFReferenceGroup.GetExtensionData 方法

返回扩展数据为 windows 服务引用的通信基础 (WCF)。

命名空间:  Microsoft.VisualStudio.WCFReference.Interop
程序集:  Microsoft.VisualStudio.WCFReference.Interop(在 Microsoft.VisualStudio.WCFReference.Interop.dll 中)

语法

声明
Function GetExtensionData ( _
    name As String _
) As Byte()
byte[] GetExtensionData(
    string name
)
array<unsigned char>^ GetExtensionData(
    [InAttribute] String^ name
)
abstract GetExtensionData : 
        name:string -> byte[] 
function GetExtensionData(
    name : String
) : byte[]

参数

  • name
    类型:String

    包含文件名的字符串。

返回值

类型:array<Byte[]
在 name包含数据的 Byte 数组。

备注

,正如名称/值对,扩展数据允许您可以将附加属性与引用组。 该信息在单独的文件中存储并将其添加到 .svcmap 文件的 Extensions 元素。

name 参数应是有效的文件名 (无路径)。 该二进制数据是透明引用组。

.NET Framework 安全性

请参阅

参考

IVsWCFReferenceGroup 接口

Microsoft.VisualStudio.WCFReference.Interop 命名空间