Here is a nice article on SPUtility.Redirect from Ton Stegeman.
Redirect in SharePoint using SPUtility.Redirect
Specifically, I was trying to understand where to use SPRedirectFlags, and this article shows it along with some examples.
zieglers
Posted by zieglers on March 31, 2010
Here is a nice article on SPUtility.Redirect from Ton Stegeman.
Redirect in SharePoint using SPUtility.Redirect
Specifically, I was trying to understand where to use SPRedirectFlags, and this article shows it along with some examples.
zieglers
Posted in IT Stuff, SharePoint | Tagged: Redirect, sharepoint, SPRedirectFlags, SPUtility, SPUtility.Redirect | 1 Comment »
Posted by zieglers on March 25, 2010
Here is a brief comparison of VIRTUAL and ABSTRACT classes:
————–
The virtual keyword is used to modify a method, property, indexer or event declaration, and allow it to be overridden in a derived class.
The abstract modifier can be used with classes, methods, properties, indexers, and events. Use the abstract modifier in a class declaration to indicate that a class is intended only to be a base class of other classes. Members marked as abstract, or included in an abstract class, must be implemented by classes that derive from the abstract class.
Abstract classes have the following features:
- An abstract class cannot be instantiated.
- An abstract class may contain abstract methods and accessors.
- It is not possible to modify an abstract class with the sealed (C# Reference) modifier, which means that the class cannot be inherited.
- A non-abstract class derived from an abstract class must include actual implementations of all inherited abstract methods and accessors.
In general, virtual does not work on classes.
It is only for a class method, property, indexer or event declaration to have the possibility, to override them in a derived class.
An abstract class can’t be initiated and can more interpretated as a template of a class, which has to be derived to create an instance of it.
————–
Zieglers
Posted in .NET Framework, C#, IT Stuff | Tagged: abstract, class, compare, comparison, sealed, virtual | 1 Comment »
Posted by zieglers on March 4, 2010
Annual SharePoint event which will be held on March 20th this year. It’s free and everyone is welcome. You can register using the following link.
http://www.torontosharepointcamp.com
I’ll also present a session there on Custom Expiration Policy.
Hope to see you there!!!
zieglers
Posted in IT Stuff, SharePoint | Tagged: March 20th, sharepoint, Toronto SharePoint Camp | Leave a Comment »