Difference between revisions of "Sample: .cs const declaration"

From dbscript Online Help
Jump to: navigation, search
(New page: This is a sample based on dbscript's XslType table: <pre> public static class XslType { /// <summary> /// Object /// </summary> public const int Object = 1; /// <summary> /// Projec...)
 
 
Line 1: Line 1:
This is a sample based on dbscript's XslType table:
+
This sample is a C# const declaration based on dbscript's XslType table:
  
 
<pre>
 
<pre>

Latest revision as of 00:58, 9 January 2009

This sample is a C# const declaration based on dbscript's XslType table:

public static class XslType
{
	/// <summary>
	/// Object
	/// </summary>
	public const int Object = 1;
	/// <summary>
	/// Project Version
	/// </summary>
	public const int ProjectVersion = 2;
	/// <summary>
	/// Value Script
	/// </summary>
	public const int ValueScript = 3;
}