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
- iconImage
Type: System.Drawing.Image
The icon that will be displayed for the file extension
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
RefactoringPreviewGroup Members
Microsoft.VisualStudio.Data.Schema.Project.Refactoring Namespace