IVsSccOpenFromSourceControl.GetNamespaceExtensionInformation(Int32, String, String, String) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Récupère les informations relatives à l'extension de l'espace de noms du contrôle de code source (NSE) à utiliser dans les boîtes de dialogue ouvertes.
public:
int GetNamespaceExtensionInformation(int vsofsdDlg, [Runtime::InteropServices::Out] System::String ^ % pbstrNamespaceGUID, [Runtime::InteropServices::Out] System::String ^ % pbstrTrayDisplayName, [Runtime::InteropServices::Out] System::String ^ % pbstrProtocolPrefix);
int GetNamespaceExtensionInformation(int vsofsdDlg, [Runtime::InteropServices::Out] std::wstring const & & pbstrNamespaceGUID, [Runtime::InteropServices::Out] std::wstring const & & pbstrTrayDisplayName, [Runtime::InteropServices::Out] std::wstring const & & pbstrProtocolPrefix);
public int GetNamespaceExtensionInformation (int vsofsdDlg, out string pbstrNamespaceGUID, out string pbstrTrayDisplayName, out string pbstrProtocolPrefix);
abstract member GetNamespaceExtensionInformation : int * string * string * string -> int
Public Function GetNamespaceExtensionInformation (vsofsdDlg As Integer, ByRef pbstrNamespaceGUID As String, ByRef pbstrTrayDisplayName As String, ByRef pbstrProtocolPrefix As String) As Integer
Paramètres
- vsofsdDlg
- Int32
[in] Valeur de l'énumération __VSOPENFROMSCCDLG spécifiant le type de boîte de dialogue à ouvrir.
- pbstrNamespaceGUID
- String
[out] Retourne le GUID (sous forme de chaîne) du NSE permettant aux boîtes de dialogue d'explorer l'espace NSE.
- pbstrTrayDisplayName
- String
[out] Retourne le nom complet du NSE (qui peut apparaître dans la section Emplacements de la bordure de fenêtre des boîtes de dialogue).
- pbstrProtocolPrefix
- String
[out] Retourne le préfixe du protocole NSE (par exemple, « msss:// »).
Retours
Si la méthode réussit, retourne S_OK. En cas d'échec, retourne E_NOTIMPL ou un code d'erreur.
Remarques
Les informations retournées sont basées sur le type de boîte de dialogue qui sera ouvert.
Signature COM
À partir de ivssccopenfromsourcecontrol. idl
HRESULT GetNamespaceExtensionInformation(
[in] VSOPENFROMSCCDLG vsofsdDlg,
[out] BSTR *pbstrNamespaceGUID,
[out] BSTR *pbstrTrayDisplayName,
[out] BSTR *pbstrProtocolPrefix
);
Cette méthode ne présente pas réellement de boîtes de dialogue ; Il fournit uniquement des informations qui seront utiles dans le type de boîte de dialogue spécifié.