IVsProjectSpecificEditorMap2::SetSpecificEditorProperty Method (String^, Int32, Object^)
Visual Studio 2015
Sets properties related to project-specific editors and the Open With dialog box.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- pszMkDocument
-
Type:
System::String^
[in] Provides properties to set project-specific editor information in the Open With dialog box.
- propid
-
Type:
System::Int32
[in] If equal to VSPSEPROPID_UseGlobalEditorByDefault (false) then the user has chosen to open the file in the project-specific editor information listed in the Open With dialog box. If VSPSEPROPID_UseGlobalEditorByDefault (true), then the global editor was chosen. For more information, see __VSPSEPROPID.
- var
-
Type:
System::Object^
[in] VARIANT containing property information.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsProjectS`pecificEditorMap2::SetSpecificEditorProperty( [in] LPCOLESTR pszMkDocument, [in] VSPSEPROPID propid, [in] VARIANT var );
Show: