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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.