예제 #1
0
 public static SPFieldDefinitionCollection GetBasicFieldList(SharepointListType listType)
 {
     if (listType == SharepointListType.DocumenLibrary)
     {
         return(__DocLibsDefinitions);
     }
     else
     {
         return(__ListsDefinitions);
     }
 }
예제 #2
0
		public static SPFieldDefinitionCollection GetBasicFieldList(SharepointListType listType)
		{
			if (listType == SharepointListType.DocumenLibrary)
				return (__DocLibsDefinitions);
			else
				return (__ListsDefinitions);
		}
예제 #3
0
 public SPListDefinition(System.Data.DataRow list)
 {
     _ListData = list;
     _Type     = (Convert.ToInt32(list["BaseType"]) == 1) ? SharepointListType.DocumenLibrary : SharepointListType.Other;
 }
예제 #4
0
		public SPListDefinition(System.Data.DataRow list)
		{
			_ListData = list;
			_Type = (Convert.ToInt32(list["BaseType"]) == 1) ? SharepointListType.DocumenLibrary : SharepointListType.Other;
		}