共用方式為


IVsWCFReferenceGroupCollection.GetReferenceGroupFromMapFile 方法

傳回指定的 Windows 通訊資格參照群組集合中。

命名空間:  Microsoft.VisualStudio.WCFReference.Interop
組件:  Microsoft.VisualStudio.WCFReference.Interop (在 Microsoft.VisualStudio.WCFReference.Interop.dll 中)

語法

'宣告
Function GetReferenceGroupFromMapFile ( _
    pszMapFilePath As String _
) As IVsWCFReferenceGroup
IVsWCFReferenceGroup GetReferenceGroupFromMapFile(
    string pszMapFilePath
)
IVsWCFReferenceGroup^ GetReferenceGroupFromMapFile(
    [InAttribute] String^ pszMapFilePath
)
abstract GetReferenceGroupFromMapFile : 
        pszMapFilePath:string -> IVsWCFReferenceGroup
function GetReferenceGroupFromMapFile(
    pszMapFilePath : String
) : IVsWCFReferenceGroup

參數

  • pszMapFilePath
    類型:String

    字串,包含 WCF 參考群組的.svcmap 檔案的路徑。

傳回值

類型:Microsoft.VisualStudio.WCFReference.Interop.IVsWCFReferenceGroup
WCF 參考群組。

備註

參照群組也可能會傳回藉由參考的命名空間和名稱 (GetReferenceGroupByName) 或項目 (Item)。

.NET Framework 安全性

請參閱

參考

IVsWCFReferenceGroupCollection 介面

Microsoft.VisualStudio.WCFReference.Interop 命名空間