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
- wgx_exports.cs
- BuilderElements.cs
- HtmlElementErrorEventArgs.cs
- TextTreeTextNode.cs
- Registry.cs
- HashAlgorithm.cs
- DataTemplate.cs
- ChtmlTextWriter.cs
- SqlCacheDependencyDatabase.cs
- DbProviderManifest.cs
- SchemaElement.cs
- CngAlgorithm.cs
- WebPartConnectionsCloseVerb.cs
- NotifyParentPropertyAttribute.cs
- SystemUdpStatistics.cs
- HttpPostProtocolReflector.cs
- Menu.cs
- SymDocumentType.cs
- StorageComplexTypeMapping.cs
- XhtmlConformanceSection.cs
- ArcSegment.cs
- Token.cs
- SpStreamWrapper.cs
- FacetEnabledSchemaElement.cs
- ValueChangedEventManager.cs
- SerialPinChanges.cs
- TargetInvocationException.cs
- Size3DConverter.cs
- AttachedPropertyDescriptor.cs
- Annotation.cs
- SpellCheck.cs
- ValueUnavailableException.cs
- CopyAttributesAction.cs
- EventProviderClassic.cs
- TypedTableBaseExtensions.cs
- TypedTableBaseExtensions.cs
- MonitoringDescriptionAttribute.cs
- BulletedListEventArgs.cs
- PropertyEmitter.cs
- XNameTypeConverter.cs
- ObjectParameter.cs
- Point3DAnimationUsingKeyFrames.cs
- FormatConvertedBitmap.cs
- FileLogRecordStream.cs
- XPathDescendantIterator.cs
- XmlHelper.cs
- _ShellExpression.cs
- _BufferOffsetSize.cs
- BindingListCollectionView.cs
- EventLogEntryCollection.cs
- SrgsNameValueTag.cs
- SqlFlattener.cs
- SerializableAttribute.cs
- DotExpr.cs
- ManagementEventWatcher.cs
- SequenceFullException.cs
- ObjectSet.cs
- Deflater.cs
- XPathEmptyIterator.cs
- ConfigurationSection.cs
- MetaModel.cs
- ThousandthOfEmRealPoints.cs
- dbenumerator.cs
- Assert.cs
- ToolStripItem.cs
- RootProfilePropertySettingsCollection.cs
- ValueProviderWrapper.cs
- Single.cs
- InkPresenter.cs
- FlowDocument.cs
- Table.cs
- DeviceContexts.cs
- TextEditorTables.cs
- HandleCollector.cs
- TargetControlTypeAttribute.cs
- GZipUtils.cs
- DataViewSettingCollection.cs
- Selection.cs
- ExceptionValidationRule.cs
- SymbolDocumentGenerator.cs
- ModifierKeysConverter.cs
- GridEntryCollection.cs
- PointCollectionValueSerializer.cs
- Root.cs
- CacheOutputQuery.cs
- ProxyGenerationError.cs
- RecipientInfo.cs
- GenericQueueSurrogate.cs
- Events.cs
- WorkerRequest.cs
- BindingEntityInfo.cs
- WindowsScroll.cs
- XmlSignatureProperties.cs
- WindowsFormsHostPropertyMap.cs
- SSmlParser.cs
- UTF7Encoding.cs
- CompoundFileStorageReference.cs
- ObjectPersistData.cs
- baseaxisquery.cs
- _Connection.cs