共用方式為


IVsWCFReferenceGroup.SetNamespace 方法

設定 Windows 通訊資格服務參考群組的命名空間。

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

語法

'宣告
Sub SetNamespace ( _
    pszNamespace As String _
)
void SetNamespace(
    string pszNamespace
)
void SetNamespace(
    [InAttribute] String^ pszNamespace
)
abstract SetNamespace : 
        pszNamespace:string -> unit
function SetNamespace(
    pszNamespace : String
)

參數

  • pszNamespace
    類型:String

    字串,包含命名空間。

備註

變更命名空間的參考群組變更目錄的名稱,或移到另一個位置的中繼資料,在檔案系統。

VSHPROPID_ServiceReferenceSupported的用戶端專案的屬性值為 false 或不支援屬性,則方法會失敗。

.NET Framework 安全性

請參閱

參考

IVsWCFReferenceGroup 介面

Microsoft.VisualStudio.WCFReference.Interop 命名空間