共用方式為


IVsFileExtensionMappingEvents.OnFileExtensionsReset Method

Called when the file extensions are changed.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

Syntax

'宣告
Function OnFileExtensionsReset As Integer
int OnFileExtensionsReset()
int OnFileExtensionsReset()
abstract OnFileExtensionsReset : unit -> int 
function OnFileExtensionsReset() : int

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From textmgr2.idl:

HRESULT OnFileExtensionsReset(void);

.NET Framework Security

See Also

Reference

IVsFileExtensionMappingEvents Interface

Microsoft.VisualStudio.TextManager.Interop Namespace