FileAssociation/ProgramAssociationInfo.cs
/// <summary>
/// Sets a value that determines numerous shell options for extension as well as limitations on how extension properties can be edited by programs that honor <see cref="EditFlags"/>
/// </summary>
/// <param name="flags"><see cref="EditFlags"/> for program file type.</param>
Sets a value that determines numerous shell options for extension as well as limitations on how extension properties can be edited by programs that honor
Sets a value that determines numerous shell options for extension as well as limitations on how extension properties can be edited by programs that honor
protected void SetEditFlags(EditFlags flags)
      {
         if (!this.Exists)
            throw new Exception("Extension does not exist");
         registryWrapper.Write(this.progId, "EditFlags", flags);
         ShellNotification.NotifyOfChange();
      }
protected void SetEditFlags ( EditFlags flags ) { if ( ! this . Exists ) throw new Exception ( " " ) ; registryWrapper . Write ( this . progId , " " , flags ) ; ShellNotification . NotifyOfChange ( ) ; }
Sets a value that determines numerous shell options for extension as well as limitations on how extension properties can be edited by programs that honor
Sets a value that determines numerous shell options for extension as well as limitations on how extension properties can be edited by programs that honor
//registryWrapper.Write(info.progId, "EditFlags", (uint)flags);
flags
EditFlags
for program file type.
for program file type .