Share via


RefactoringPreviewGroup.RegisterIcon Method

Registers the icon image to use for preview nodes for the specified file name extension.

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

Syntax

'Declaration
Public Shared Sub RegisterIcon ( _
    fileExtension As String, _
    iconImage As Image _
)
public static void RegisterIcon(
    string fileExtension,
    Image iconImage
)
public:
static void RegisterIcon(
    String^ fileExtension, 
    Image^ iconImage
)
static member RegisterIcon : 
        fileExtension:string * 
        iconImage:Image -> unit 
public static function RegisterIcon(
    fileExtension : String, 
    iconImage : Image
)

Parameters

  • fileExtension
    Type: System.String
    The file name extension for which a node icon image is registered.

.NET Framework Security

See Also

Reference

RefactoringPreviewGroup Class

Microsoft.VisualStudio.Data.Schema.Package.Refactoring Namespace