Share via


RefactoringPreviewGroup.RegisterIcon Method

Associates an icon with a file name extension for display in the Preview dialog box.

Namespace:  Microsoft.VisualStudio.Data.Schema.Project.Refactoring
Assembly:  Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)

Syntax

'Declaration
Public Shared Sub RegisterIcon ( _
    fileExtension As String, _
    iconImage As Image _
)
'Usage
Dim fileExtension As String
Dim iconImage As Image

RefactoringPreviewGroup.RegisterIcon(fileExtension, _
    iconImage)
public static void RegisterIcon(
    string fileExtension,
    Image iconImage
)
public:
static void RegisterIcon(
    String^ fileExtension, 
    Image^ iconImage
)
public static function RegisterIcon(
    fileExtension : String, 
    iconImage : Image
)
static member RegisterIcon : 
        fileExtension:string * 
        iconImage:Image -> unit 

Parameters

  • fileExtension
    Type: System.String
    The file extension for which the icon is being registered

.NET Framework Security

See Also

Reference

RefactoringPreviewGroup Class

RefactoringPreviewGroup Members

Microsoft.VisualStudio.Data.Schema.Project.Refactoring Namespace