共用方式為


IVsWCFReferenceGroupCollection.GetReferenceGroupByName 方法

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

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

語法

'宣告
Function GetReferenceGroupByName ( _
    pszNamespace As String, _
    pszName As String _
) As IVsWCFReferenceGroup
IVsWCFReferenceGroup GetReferenceGroupByName(
    string pszNamespace,
    string pszName
)
IVsWCFReferenceGroup^ GetReferenceGroupByName(
    [InAttribute] String^ pszNamespace, 
    [InAttribute] String^ pszName
)
abstract GetReferenceGroupByName : 
        pszNamespace:string * 
        pszName:string -> IVsWCFReferenceGroup
function GetReferenceGroupByName(
    pszNamespace : String, 
    pszName : String
) : IVsWCFReferenceGroup

參數

  • pszNamespace
    類型:String

    字串,包含參考群組的命名空間。

  • pszName
    類型:String

    字串,包含參考群組的名稱。

傳回值

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

備註

參照群組也可能會傳回藉由參考.svcmap 檔案 (GetReferenceGroupFromMapFile) 或項目 (Item)。

.NET Framework 安全性

請參閱

參考

IVsWCFReferenceGroupCollection 介面

Microsoft.VisualStudio.WCFReference.Interop 命名空間