Printer Friendly Version      Send     
Click to Rate and Give Feedback
DateTimeControl Class (Microsoft.SharePoint.WebControls)
Represents a DateTime control.

Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in microsoft.sharepoint.dll)
Visual Basic (Declaration)
<DefaultPropertyAttribute("Text")> _
<ToolboxDataAttribute("<{0}:DateTimeControl runat=server></{0}:DateTimeControl>")> _
<DesignerAttribute(GetType(SPControlDesigner))> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level:=AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel:=True)> _
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level:=AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel:=True)> _
Public Class DateTimeControl
    Inherits SPCompositeControl
    Implements IValidator, IPostBackDataHandler, IDesignerEventAccessor
Visual Basic (Usage)
Dim instance As DateTimeControl
C#
[DefaultPropertyAttribute("Text")] 
[ToolboxDataAttribute("<{0}:DateTimeControl runat=server></{0}:DateTimeControl>")] 
[DesignerAttribute(typeof(SPControlDesigner))] 
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] 
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel=true)] 
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] 
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel=true)] 
public class DateTimeControl : SPCompositeControl, IValidator, IPostBackDataHandler, IDesignerEventAccessor
System.Object
   System.Web.UI.Control
     Microsoft.SharePoint.WebControls.SPCompositeControl
      Microsoft.SharePoint.WebControls.DateTimeControl
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker