共用方式為


IVsWCFReferenceGroup.GetExtensionData 方法

傳回 Windows 通訊資格服務參考的擴充資料。

命名空間:  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[]
A Byte陣列,包含在資料name。

備註

將延伸資料可讓您關聯參照群組中的其他屬性,以名稱/值組。 是儲存在個別的檔案中的資訊,並將其加入至Extensions .svcmap 檔案中的項目。

name參數應該是有效的檔名 (不含路徑)。 二進位資料是看不到參照群組。

.NET Framework 安全性

請參閱

參考

IVsWCFReferenceGroup 介面

Microsoft.VisualStudio.WCFReference.Interop 命名空間