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.
- iconImage
Type: System.Drawing.Image
The icon image.
.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
Microsoft.VisualStudio.Data.Schema.Package.Refactoring Namespace