LaunchServices.SetDefaultRoleHandlerForContentType Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static CoreServices.LSResult SetDefaultRoleHandlerForContentType (string contentType, string handlerBundleId, CoreServices.LSRoles roles = CoreServices.LSRoles.All);
static member SetDefaultRoleHandlerForContentType : string * string * CoreServices.LSRoles -> CoreServices.LSResult
Parameters
- contentType
- String
- handlerBundleId
- String
- roles
- LSRoles