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 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。