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
- XPathScanner.cs
- TabControl.cs
- StringBuilder.cs
- DynamicPropertyHolder.cs
- Pair.cs
- SynchronizingStream.cs
- EntityConnectionStringBuilder.cs
- BrushValueSerializer.cs
- WebEvents.cs
- DesignerActionItem.cs
- Utils.cs
- CreateUserWizardStep.cs
- CommonGetThemePartSize.cs
- TransactionContextManager.cs
- ConnectionProviderAttribute.cs
- ShapeTypeface.cs
- PriorityRange.cs
- ImmComposition.cs
- SqlVisitor.cs
- XmlSchemaAll.cs
- WindowInteractionStateTracker.cs
- GlobalProxySelection.cs
- SchemaElementLookUpTable.cs
- CustomDictionarySources.cs
- LinqDataSourceSelectEventArgs.cs
- RadioButtonAutomationPeer.cs
- BlobPersonalizationState.cs
- Parser.cs
- XmlSchemaAttributeGroupRef.cs
- FunctionDescription.cs
- ComplexBindingPropertiesAttribute.cs
- CmsInterop.cs
- StringSource.cs
- InternalsVisibleToAttribute.cs
- ServiceBusyException.cs
- ArrayExtension.cs
- ListViewItem.cs
- XomlDesignerLoader.cs
- GenericXmlSecurityToken.cs
- ValidationSummary.cs
- WebPartEditorCancelVerb.cs
- ConfigurationSettings.cs
- ISAPIRuntime.cs
- rsa.cs
- ExceptionUtil.cs
- Stream.cs
- ControlBuilder.cs
- DesignerAutoFormatCollection.cs
- Query.cs
- KeyEvent.cs
- WsdlBuildProvider.cs
- UnknownBitmapEncoder.cs
- DomNameTable.cs
- SqlRowUpdatedEvent.cs
- StyleCollection.cs
- ResponseStream.cs
- ZipIOLocalFileBlock.cs
- EntityContainerRelationshipSetEnd.cs
- DesignBinding.cs
- _UriTypeConverter.cs
- EmptyCollection.cs
- TableLayout.cs
- GZipDecoder.cs
- SpellCheck.cs
- ReadOnlyDictionary.cs
- Typeface.cs
- HtmlGenericControl.cs
- AddInPipelineAttributes.cs
- CryptoHelper.cs
- IntranetCredentialPolicy.cs
- Menu.cs
- ProjectionCamera.cs
- ObjectParameterCollection.cs
- BlockUIContainer.cs
- XmlComplianceUtil.cs
- XPathNavigator.cs
- KeyInterop.cs
- ControlOperationInvoker.cs
- DbgUtil.cs
- odbcmetadatacollectionnames.cs
- XPathDocumentBuilder.cs
- FileDataSourceCache.cs
- StrongNameKeyPair.cs
- EdmMember.cs
- ObjectAnimationUsingKeyFrames.cs
- PointAnimation.cs
- UiaCoreTypesApi.cs
- RegexCode.cs
- XamlDesignerSerializationManager.cs
- securitymgrsite.cs
- GenericAuthenticationEventArgs.cs
- FrameworkTemplate.cs
- FormsAuthenticationCredentials.cs
- AjaxFrameworkAssemblyAttribute.cs
- PageCatalogPart.cs
- ServerIdentity.cs
- HttpWebRequest.cs
- IndicShape.cs
- ScrollBar.cs
- AttributeEmitter.cs