次の方法で共有


IFileExtensionRegistryService.RemoveFileExtension Method

Removes the specified file extension from the registry.

Namespace:  Microsoft.VisualStudio.Utilities
Assembly:  Microsoft.VisualStudio.CoreUtility (in Microsoft.VisualStudio.CoreUtility.dll)

Syntax

'宣言
Sub RemoveFileExtension ( _
    extension As String _
)
void RemoveFileExtension(
    string extension
)
void RemoveFileExtension(
    String^ extension
)
abstract RemoveFileExtension : 
        extension:string -> unit 
function RemoveFileExtension(
    extension : String
)

Parameters

  • extension
    Type: System.String
    The file extension. The period is optional.

Remarks

If the specified extension does not exist, then the method does nothing.

.NET Framework Security

See Also

Reference

IFileExtensionRegistryService Interface

Microsoft.VisualStudio.Utilities Namespace