IVsCodeWindowEx::Initialize Method (UInt32, VSUSERCONTEXTATTRIBUTEUSAGE, String^, String^, UInt32, array<INITVIEW>^)
Visual Studio 2015
Customizes some of the behavior of a code window, such as making the window read-only, hiding the dropdown bar and splitter, and provide auxiliary user context.
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
int Initialize( unsigned int grfCodeWindowBehaviorFlags, VSUSERCONTEXTATTRIBUTEUSAGE usageAuxUserContext, String^ szNameAuxUserContext, String^ szValueAuxUserContext, unsigned int InitViewFlags, array<INITVIEW>^ pInitView )
Parameters
- grfCodeWindowBehaviorFlags
-
Type:
System::UInt32
[in] Enumeration value which determines the behavior of the code window. Possible values are: CWB _DEFAULT, CWB_DISABLEDROPDOWNBAR, or CWB_DISABLESPLITTER.
- usageAuxUserContext
-
Type:
Microsoft.VisualStudio.Shell.Interop::VSUSERCONTEXTATTRIBUTEUSAGE
[in] Enumeration value which determines the use of the auxiliary user context.
- szNameAuxUserContext
-
Type:
System::String^
[in] The name of the auxiliary user context.
- szValueAuxUserContext
-
Type:
System::String^
[in] The value of the auxiliary user context.
- InitViewFlags
-
Type:
System::UInt32
[in] Flags to modify the INITVIEW
- pInitView
-
Type:
array<Microsoft.VisualStudio.TextManager.Interop::INITVIEW>^
[in] The enumeration which specifies view parameters.
Show: