Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / ndp / fx / src / xsp / System / Web / UI / WebControls / ObjectDataSourceEventArgs.cs / 1 / ObjectDataSourceEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls { using System; using System.Collections; using System.Security.Permissions; ////// Represents data that is passed into an ObjectDataSourceObjectEventHandler delegate. /// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class ObjectDataSourceEventArgs : EventArgs { private object _objectInstance; ////// Creates a new instance of ObjectDataSourceEventArgs. /// public ObjectDataSourceEventArgs(object objectInstance) : base() { _objectInstance = objectInstance; } ////// The instance of the object created by the ObjectDataSource. Set this /// property if you need to create the object using a non-default /// constructor. /// public object ObjectInstance { get { return _objectInstance; } set { _objectInstance = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls { using System; using System.Collections; using System.Security.Permissions; ////// Represents data that is passed into an ObjectDataSourceObjectEventHandler delegate. /// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class ObjectDataSourceEventArgs : EventArgs { private object _objectInstance; ////// Creates a new instance of ObjectDataSourceEventArgs. /// public ObjectDataSourceEventArgs(object objectInstance) : base() { _objectInstance = objectInstance; } ////// The instance of the object created by the ObjectDataSource. Set this /// property if you need to create the object using a non-default /// constructor. /// public object ObjectInstance { get { return _objectInstance; } set { _objectInstance = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- MiniMapControl.xaml.cs
- SqlBuffer.cs
- TypeDelegator.cs
- Constraint.cs
- MouseEvent.cs
- DataGridRelationshipRow.cs
- DelegatingHeader.cs
- StringUtil.cs
- UnionCodeGroup.cs
- RowUpdatedEventArgs.cs
- FrameworkContextData.cs
- XmlAttributeProperties.cs
- FaultReason.cs
- DataGridViewCellMouseEventArgs.cs
- FixedSOMGroup.cs
- TextSearch.cs
- ConstructorBuilder.cs
- ConsoleKeyInfo.cs
- AbsoluteQuery.cs
- DescendantBaseQuery.cs
- XmlDigitalSignatureProcessor.cs
- sapiproxy.cs
- SendingRequestEventArgs.cs
- PlatformNotSupportedException.cs
- FileUtil.cs
- PasswordBoxAutomationPeer.cs
- SerialReceived.cs
- WindowsListBox.cs
- BidirectionalDictionary.cs
- FormsAuthenticationConfiguration.cs
- Control.cs
- MenuItemBinding.cs
- ListViewSelectEventArgs.cs
- DeferredSelectedIndexReference.cs
- IDQuery.cs
- Thumb.cs
- XmlCodeExporter.cs
- EnumType.cs
- TableTextElementCollectionInternal.cs
- DataGridViewRowsAddedEventArgs.cs
- WindowsGrip.cs
- HideDisabledControlAdapter.cs
- ProtectedConfiguration.cs
- Int32CollectionConverter.cs
- TdsParserSafeHandles.cs
- EncryptedKey.cs
- XhtmlBasicListAdapter.cs
- ThicknessAnimation.cs
- XsltLoader.cs
- SizeChangedInfo.cs
- ComponentCollection.cs
- DataPagerFieldItem.cs
- PeerNearMe.cs
- KeyMatchBuilder.cs
- WarningException.cs
- SqlFacetAttribute.cs
- PropertyGridCommands.cs
- JsonQueryStringConverter.cs
- FrameworkTemplate.cs
- Rect3D.cs
- DataListItem.cs
- CookieProtection.cs
- DefaultTextStore.cs
- MetafileHeaderWmf.cs
- FixedPageProcessor.cs
- baseaxisquery.cs
- ValueQuery.cs
- ConfigurationSectionHelper.cs
- OutputCacheModule.cs
- TextEditorSelection.cs
- ControlIdConverter.cs
- HtmlLiteralTextAdapter.cs
- TargetConverter.cs
- Drawing.cs
- SmtpMail.cs
- BrowserDefinitionCollection.cs
- Thumb.cs
- TextSegment.cs
- ComponentChangedEvent.cs
- SurrogateEncoder.cs
- Debug.cs
- SortExpressionBuilder.cs
- TokenBasedSetEnumerator.cs
- DocumentViewerAutomationPeer.cs
- ExtenderProvidedPropertyAttribute.cs
- Blend.cs
- SecurityException.cs
- PixelFormats.cs
- WizardForm.cs
- JumpList.cs
- MethodBuilder.cs
- XmlSchemaObjectTable.cs
- RawStylusInputReport.cs
- ListParagraph.cs
- ComNativeDescriptor.cs
- TextSchema.cs
- LogSwitch.cs
- NestedContainer.cs
- TypographyProperties.cs
- FontNameEditor.cs