Click here to Skip to main content
15,886,258 members
Articles / Desktop Programming / Win32

.NET Shell Extensions - Shell Preview Handlers

Rate me:
Please Sign up or sign in to vote.
4.93/5 (23 votes)
20 May 2014MIT8 min read 140.4K   6.1K   71  
Quickly create Shell Preview Handlers for Windows or Outlook using .NET!
namespace SharpShell.Attributes
{
    /// <summary>
    /// The AssociationType determines what kind of associate a COM
    /// server is made to a class, such as a file class or a drive.
    /// </summary>
    public enum AssociationType
    {
        /// <summary>
        /// No server association.
        /// </summary>
        None,

        /// <summary>
        /// Create an association to a specific file extension.
        /// </summary>
        FileExtension,

        /// <summary>
        /// Create an association to the class of a specific file extension.
        /// </summary>
        ClassOfExtension,

        /// <summary>
        /// Create an association to a class.
        /// </summary>
        Class,

        /// <summary>
        /// Create an association to the all files class.
        /// </summary>
        AllFiles,

        /// <summary>
        /// Create an association to the directory class.
        /// </summary>
        Directory,

        /// <summary>
        /// Create an association to the drive class.
        /// </summary>
        Drive,

        /// <summary>
        /// Create an association to the unknown files class.
        /// </summary>
        UnknownFiles
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The MIT License


Written By
Software Developer
United Kingdom United Kingdom
Follow my blog at www.dwmkerr.com and find out about my charity at www.childrenshomesnepal.org.

Comments and Discussions