FileAssociation/ProgramAssociationInfo.cs
/// <summary>
/// Creates actual Programmatic Identifier key in registry that is used by other extensions.
/// </summary>
/// <param name="description">Friendly description of file type.</param>
/// <param name="editFlags"><see cref="EditFlags"/> for program file type.</param>
/// <param name="verbs">Array of <see cref="ProgramVerb"/> that contains supported verbs.</param>
/// <returns><see cref="ProgramAssociationInfo"/> instance referring to specified extension.</returns>
Creates actual Programmatic Identifier key in registry that is used by other extensions.
Creates actual Programmatic Identifier key in registry that is used by other extensions .
public ProgramAssociationInfo Create(string description, EditFlags editFlags, ProgramVerb[] verbs)
      {
         if (this.Exists)
         {
            this.Delete();
         }
         this.Create();
         if (description != string.Empty)
            this.Description = description;
         if (editFlags != EditFlags.None)
            this.EditFlags = editFlags;
         this.Verbs = verbs;
         return this;
      }
public ProgramAssociationInfo Create ( string description , EditFlags editFlags , ProgramVerb [ ] verbs ) { if ( this . Exists ) { this . Delete ( ) ; } this . Create ( ) ; if ( description != string . Empty ) this . Description = description ; if ( editFlags != EditFlags . None ) this . EditFlags = editFlags ; this . Verbs = verbs ; return this ; }
Creates actual Programmatic Identifier key in registry that is used by other extensions.
Creates actual Programmatic Identifier key in registry that is used by other extensions .
instance referring to specified extension.
instance referring to specified extension .
description
string
Friendly description of file type.
Friendly description of file type .
editFlags
EditFlags
for program file type.
for program file type .
verbs
ProgramVerb[]
Array of  that contains supported verbs.
Array of that contains supported verbs .