IVsPreviewChangesEngine.GetHelpContext Method
Gets the dialog help context.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'宣言
Function GetHelpContext ( _
<OutAttribute> ByRef pbstrHelpContext As String _
) As Integer
'使用
Dim instance As IVsPreviewChangesEngine
Dim pbstrHelpContext As String
Dim returnValue As Integer
returnValue = instance.GetHelpContext(pbstrHelpContext)
int GetHelpContext(
out string pbstrHelpContext
)
int GetHelpContext(
[OutAttribute] String^% pbstrHelpContext
)
function GetHelpContext(
pbstrHelpContext : String
) : int
Parameters
pbstrHelpContext
Type: System.String%[out] The dialog help context.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
The default value is VS.PreviewChanges.
COM Signature
From vsshell80.idl:
HRESULT GetRootChangesList(
[out] IUnknown **ppIUnknownPreviewChangesList
);
Permissions
- 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.
See Also
Reference
IVsPreviewChangesEngine Interface