IVsSccOpenFromSourceControl.GetNamespaceExtensionInformation Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the source control Namespace Extension (NSE) information for use in Open dialog boxes..
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
Parameters
- vsofsdDlg
- Int32
[in] A value from the __VSOPENFROMSCCDLG enumeration specifying the type of dialog box that will be opened.
- pbstrNamespaceGUID
- String
[out] Returns the GUID (in string form) of the NSE allowing the dialog boxes to explore the NSE space.
- pbstrTrayDisplayName
- String
[out] Returns the display name of the NSE (which can appear in the Places section of the Window border of the dialog boxes).
- pbstrProtocolPrefix
- String
[out] Returns the NSE protocol prefix (for example, "msss://").
Returns
If the method succeeds, it returns S_OK. If it fails, it returns E_NOTIMPL or an error code.
Remarks
The information returned is based on the type of dialog box that will be opened.
COM Signature
From ivssccopenfromsourcecontrol.idl
HRESULT GetNamespaceExtensionInformation(
[in] VSOPENFROMSCCDLG vsofsdDlg,
[out] BSTR *pbstrNamespaceGUID,
[out] BSTR *pbstrTrayDisplayName,
[out] BSTR *pbstrProtocolPrefix
);
This method doesn't actually present any dialog boxes; it only provides information that will be useful in the specified type of dialog box.