Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves the source control Namespace Extension (NSE) information for use in Open dialog boxes..
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaration
Function GetNamespaceExtensionInformation ( _
vsofsdDlg As Integer, _
<OutAttribute> ByRef pbstrNamespaceGUID As String, _
<OutAttribute> ByRef pbstrTrayDisplayName As String, _
<OutAttribute> ByRef pbstrProtocolPrefix As String _
) As Integer
int GetNamespaceExtensionInformation(
int vsofsdDlg,
out string pbstrNamespaceGUID,
out string pbstrTrayDisplayName,
out string pbstrProtocolPrefix
)
int GetNamespaceExtensionInformation(
[InAttribute] int vsofsdDlg,
[OutAttribute] String^% pbstrNamespaceGUID,
[OutAttribute] String^% pbstrTrayDisplayName,
[OutAttribute] String^% pbstrProtocolPrefix
)
abstract GetNamespaceExtensionInformation :
vsofsdDlg:int *
pbstrNamespaceGUID:string byref *
pbstrTrayDisplayName:string byref *
pbstrProtocolPrefix:string byref -> int
function GetNamespaceExtensionInformation(
vsofsdDlg : int,
pbstrNamespaceGUID : String,
pbstrTrayDisplayName : String,
pbstrProtocolPrefix : String
) : int
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.Int32
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.