Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / clr / src / BCL / System / Reflection / DefaultMemberAttribute.cs / 1 / DefaultMemberAttribute.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== //////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////// // // DefaultMemberAttribute is defines the Member of a Type that is the "default" // member used by Type.InvokeMember. The default member is simply a name given // to a type. // // // // namespace System.Reflection { using System; [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Interface),Serializable] [System.Runtime.InteropServices.ComVisible(true)] public sealed class DefaultMemberAttribute : Attribute { // The name of the member private String m_memberName; // You must provide the name of the member, this is required public DefaultMemberAttribute(String memberName) { m_memberName = memberName; } // A get accessor to return the name from the attribute. // public String MemberName { get {return m_memberName;} } } } // 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
- XomlCompilerParameters.cs
- NativeMethods.cs
- MeshGeometry3D.cs
- RIPEMD160.cs
- ToolStripManager.cs
- XPathAncestorQuery.cs
- InstanceCompleteException.cs
- SafeNativeHandle.cs
- ToolStripSettings.cs
- FormsAuthenticationTicket.cs
- FileLogRecordHeader.cs
- IPGlobalProperties.cs
- ComponentRenameEvent.cs
- UInt64.cs
- PointConverter.cs
- SessionPageStateSection.cs
- DebugHandleTracker.cs
- SrgsRule.cs
- WebHeaderCollection.cs
- ACE.cs
- DataGridViewTopLeftHeaderCell.cs
- Internal.cs
- UserNamePasswordValidator.cs
- DataTableNewRowEvent.cs
- BindingCollection.cs
- QuaternionConverter.cs
- DSGeneratorProblem.cs
- GroupedContextMenuStrip.cs
- DocumentViewerConstants.cs
- KnownAssembliesSet.cs
- HostProtectionPermission.cs
- SystemDiagnosticsSection.cs
- SymbolDocumentInfo.cs
- EndPoint.cs
- TrustManager.cs
- CompatibleIComparer.cs
- RawAppCommandInputReport.cs
- PenThreadWorker.cs
- CacheAxisQuery.cs
- BaseComponentEditor.cs
- InternalTypeHelper.cs
- SR.cs
- DataGridViewCellEventArgs.cs
- DrawListViewItemEventArgs.cs
- Utils.cs
- DateTimePicker.cs
- Parameter.cs
- OperationAbortedException.cs
- BinaryConverter.cs
- WinInetCache.cs
- CellLabel.cs
- ScalarType.cs
- BooleanExpr.cs
- OrderByLifter.cs
- AsymmetricKeyExchangeFormatter.cs
- externdll.cs
- InstanceOwnerQueryResult.cs
- ConsoleTraceListener.cs
- DesignerActionTextItem.cs
- CustomTypeDescriptor.cs
- RectAnimation.cs
- DataGridViewTopRowAccessibleObject.cs
- ProviderConnectionPointCollection.cs
- WebPartEditVerb.cs
- ConstructorBuilder.cs
- PartialCachingControl.cs
- DispatcherSynchronizationContext.cs
- TableCellCollection.cs
- ClipboardProcessor.cs
- SpellerError.cs
- exports.cs
- StateMachine.cs
- ServiceContractGenerator.cs
- ZipIOLocalFileHeader.cs
- RsaSecurityKey.cs
- InheritanceAttribute.cs
- WebPartAddingEventArgs.cs
- SymbolTable.cs
- ObjectConverter.cs
- VisualStates.cs
- WinFormsComponentEditor.cs
- BrowserCapabilitiesCodeGenerator.cs
- TreeViewImageKeyConverter.cs
- COM2PictureConverter.cs
- SelectionEditingBehavior.cs
- ColumnHeaderConverter.cs
- DataDocumentXPathNavigator.cs
- QilScopedVisitor.cs
- RowParagraph.cs
- SignatureDescription.cs
- WindowsMenu.cs
- PTProvider.cs
- ScopelessEnumAttribute.cs
- SizeIndependentAnimationStorage.cs
- NonVisualControlAttribute.cs
- SelectorAutomationPeer.cs
- DbConnectionClosed.cs
- FieldMetadata.cs
- BindingNavigatorDesigner.cs
- DataProtection.cs