IVsSccOpenFromSourceControl::GetNamespaceExtensionInformation Method (Int32, String^, String^, String^)
Retrieves the source control Namespace Extension (NSE) information for use in Open dialog boxes..
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
int GetNamespaceExtensionInformation( int vsofsdDlg, [OutAttribute] String^% pbstrNamespaceGUID, [OutAttribute] String^% pbstrTrayDisplayName, [OutAttribute] String^% pbstrProtocolPrefix )
Parameters
- vsofsdDlg
-
Type:
System::Int32
[in] A value from the __VSOPENFROMSCCDLG enumeration specifying the type of dialog box that will be opened.
- pbstrNamespaceGUID
-
Type:
System::String^
[out] Returns the GUID (in string form) of the NSE allowing the dialog boxes to explore the NSE space.
- pbstrTrayDisplayName
-
Type:
System::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
-
Type:
System::String^
[out] Returns the NSE protocol prefix (for example, "msss://").
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns E_NOTIMPL or an error code.
The information returned is based on the type of dialog box that will be opened.
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.