Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / MIT / System / Web / UI / MobileControls / ObjectListCommand.cs / 1305376 / ObjectListCommand.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- using System; using System.Collections; using System.ComponentModel; using System.Diagnostics; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.HtmlControls; using System.Security.Permissions; namespace System.Web.UI.MobileControls { /* * Object List Command class. * * Copyright (c) 2000 Microsoft Corporation */ ///[ PersistName("Command") ] [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] [Obsolete("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.")] public class ObjectListCommand { private String _name; private String _text; private ObjectListCommandCollection _owner; /// public ObjectListCommand() { } /// public ObjectListCommand(String name, String text) { _name = name; _text = text; } /// [ DefaultValue("") ] public String Name { get { return (_name == null) ? String.Empty : _name; } set { _name = value; if (Owner != null) { Owner.SetDirty (); } } } /// [ DefaultValue("") ] public String Text { get { return (_text == null) ? String.Empty : _text; } set { _text = value; if (Owner != null) { Owner.SetDirty (); } } } internal ObjectListCommandCollection Owner { get { return _owner; } set { _owner = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ // // Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- using System; using System.Collections; using System.ComponentModel; using System.Diagnostics; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.HtmlControls; using System.Security.Permissions; namespace System.Web.UI.MobileControls { /* * Object List Command class. * * Copyright (c) 2000 Microsoft Corporation */ ///[ PersistName("Command") ] [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] [Obsolete("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.")] public class ObjectListCommand { private String _name; private String _text; private ObjectListCommandCollection _owner; /// public ObjectListCommand() { } /// public ObjectListCommand(String name, String text) { _name = name; _text = text; } /// [ DefaultValue("") ] public String Name { get { return (_name == null) ? String.Empty : _name; } set { _name = value; if (Owner != null) { Owner.SetDirty (); } } } /// [ DefaultValue("") ] public String Text { get { return (_text == null) ? String.Empty : _text; } set { _text = value; if (Owner != null) { Owner.SetDirty (); } } } internal ObjectListCommandCollection Owner { get { return _owner; } set { _owner = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- PrincipalPermission.cs
- StringWriter.cs
- DataGridSortCommandEventArgs.cs
- ScriptControlDescriptor.cs
- DoubleAverageAggregationOperator.cs
- EmptyControlCollection.cs
- Rectangle.cs
- SQLBinaryStorage.cs
- SignalGate.cs
- CodeVariableDeclarationStatement.cs
- Parameter.cs
- TemplateEditingFrame.cs
- EditorZone.cs
- FormatException.cs
- EventData.cs
- PublishLicense.cs
- SystemException.cs
- OleDbParameterCollection.cs
- IFlowDocumentViewer.cs
- SmiMetaDataProperty.cs
- ZipIOCentralDirectoryBlock.cs
- DetailsViewUpdatedEventArgs.cs
- HtmlWindow.cs
- RelatedView.cs
- SecuritySessionFilter.cs
- RuntimeIdentifierPropertyAttribute.cs
- SubMenuStyle.cs
- ToolStripItemEventArgs.cs
- GlobalProxySelection.cs
- HMACSHA1.cs
- BindingMAnagerBase.cs
- StreamGeometry.cs
- StandardBindingElementCollection.cs
- Attributes.cs
- HtmlEncodedRawTextWriter.cs
- EventWaitHandle.cs
- SystemIPInterfaceStatistics.cs
- DataGridComboBoxColumn.cs
- DoubleIndependentAnimationStorage.cs
- DocumentSequenceHighlightLayer.cs
- ArrayList.cs
- UnrecognizedPolicyAssertionElement.cs
- DocumentReference.cs
- EllipseGeometry.cs
- CodeDelegateCreateExpression.cs
- grammarelement.cs
- ItemsControl.cs
- MemberJoinTreeNode.cs
- _SslStream.cs
- DbConnectionPoolCounters.cs
- ListViewInsertedEventArgs.cs
- TimeSpanOrInfiniteValidator.cs
- WindowsAuthenticationModule.cs
- DictionaryEditChange.cs
- PersonalizationAdministration.cs
- CodeParameterDeclarationExpression.cs
- SmiEventSink.cs
- MaskPropertyEditor.cs
- URIFormatException.cs
- FlatButtonAppearance.cs
- SQLInt64.cs
- UseLicense.cs
- ReliabilityContractAttribute.cs
- MarkupCompilePass2.cs
- ModifiableIteratorCollection.cs
- DataReceivedEventArgs.cs
- TripleDESCryptoServiceProvider.cs
- SafeLibraryHandle.cs
- DataGridViewToolTip.cs
- XmlSchemaAttributeGroupRef.cs
- BitmapImage.cs
- BookmarkTable.cs
- DataGridViewDataErrorEventArgs.cs
- InertiaTranslationBehavior.cs
- Attributes.cs
- ExtenderControl.cs
- CommandHelper.cs
- CodeParameterDeclarationExpressionCollection.cs
- TablePattern.cs
- MemberPath.cs
- XmlDomTextWriter.cs
- WindowsTokenRoleProvider.cs
- DragDeltaEventArgs.cs
- XLinq.cs
- CalendarBlackoutDatesCollection.cs
- MD5Cng.cs
- HandlerFactoryWrapper.cs
- SaveFileDialog.cs
- DashStyle.cs
- SourceFilter.cs
- HtmlElementErrorEventArgs.cs
- LinqDataSource.cs
- DeflateEmulationStream.cs
- CustomUserNameSecurityTokenAuthenticator.cs
- RelationHandler.cs
- SourceChangedEventArgs.cs
- OracleParameter.cs
- BuildProvidersCompiler.cs
- SQLDecimalStorage.cs
- XmlArrayAttribute.cs