Visual Studio Code Snippets (Beta)

The official repository for the Visual Studio Code Snippets project. The aim of this project is to offer the development community an extensive set of Visual Studio code snippets in a centralized location to help speed up the development process.

Recently uploaded CodeSnippets

struct 38

C# Fons Sonnemans
Code snippet for a readonly struct with the [StructLayout(Auto)] attribute

Notify Property 919

CSharp mv1986
Property with notify change (C# 5.0).

Notifiable Property with datacont... 863

CSharp mv1986
Property with notify change (C# 5.0) plus datacontract attribute.

propnotify2 1084

C# Daniel Turan
Code snippet for property using SetProperty method (compatible with Prism.MVVM and others)

Dispose pattern 1208

C# Fons Sonnemans
Code snippet for the dispose pattern

objectcreation 1040

JavaScript Fabian Seiffert
Codeausschnitt für die korrekte Erstellung eines globalen Objektes.

AJAX 1661

JavaScript Zonaro, Carvalho
Cria uma snippet AJAX

TryCatch 1460

SQL Fons Sonnemans
Adds a Try/Catch including a transaction

rw 1276

C# Zackariya El Khalfaoui
Code snippet for Response.Write

2X2 Grid 1470

XAML Microsoft Corporation
XAML snippet for a 2X2 Grid

XamlSetterCreator 1475

XAML William Wegerson
In Xaml add a style setter.

XamlStyleSetterCreator 1373

XAML William Wegerson
Create a Style and a Setter.

Extension Package

No snippets are added


Languages