IVsCodeDefView.IsCodeDefView(IVsTextView, Int32) 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.
Check whether a given IVsTextView is owned by the Code Definition tool window.
public:
int IsCodeDefView(Microsoft::VisualStudio::TextManager::Interop::IVsTextView ^ pIVsTextView, [Runtime::InteropServices::Out] int % pfIsCodeDefView);
int IsCodeDefView(Microsoft::VisualStudio::TextManager::Interop::IVsTextView const & pIVsTextView, [Runtime::InteropServices::Out] int & pfIsCodeDefView);
public int IsCodeDefView (Microsoft.VisualStudio.TextManager.Interop.IVsTextView pIVsTextView, out int pfIsCodeDefView);
abstract member IsCodeDefView : Microsoft.VisualStudio.TextManager.Interop.IVsTextView * int -> int
Public Function IsCodeDefView (pIVsTextView As IVsTextView, ByRef pfIsCodeDefView As Integer) As Integer
Parameters
- pIVsTextView
- IVsTextView
[in] A IVsTextView interface to the view.
- pfIsCodeDefView
- Int32
[out] true
if the view is owned by the Code Definition tool window; otherwise false
.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell80.idl:
HRESULT IsCodeDefView(
[in] IVsTextView *pIVsTextView,
[out] BOOL *pfIsCodeDefView
);