Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / CodeDOM / CodeTypeMember.cs / 1305376 / CodeTypeMember.cs
//------------------------------------------------------------------------------ //// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Reflection; using System.Runtime.InteropServices; using System.Runtime.Serialization; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ ClassInterface(ClassInterfaceType.AutoDispatch), ComVisible(true), Serializable, ] public class CodeTypeMember : CodeObject { private MemberAttributes attributes = MemberAttributes.Private | MemberAttributes.Final; private string name; private CodeCommentStatementCollection comments = new CodeCommentStatementCollection(); private CodeAttributeDeclarationCollection customAttributes = null; private CodeLinePragma linePragma; // Optionally Serializable [OptionalField] private CodeDirectiveCollection startDirectives = null; [OptionalField] private CodeDirectiveCollection endDirectives = null; ////// Represents a class member. /// ////// public string Name { get { return (name == null) ? string.Empty : name; } set { name = value; } } ////// Gets or sets /// the name of the member. /// ////// public MemberAttributes Attributes { get { return attributes; } set { attributes = value; } } ////// Gets or sets a ///indicating /// the attributes of the member. /// /// public CodeAttributeDeclarationCollection CustomAttributes { get { if (customAttributes == null) { customAttributes = new CodeAttributeDeclarationCollection(); } return customAttributes; } set { customAttributes = value; } } ////// Gets or sets a ///indicating /// the custom attributes of the /// member. /// /// public CodeLinePragma LinePragma { get { return linePragma; } set { linePragma = value; } } ////// The line the statement occurs on. /// ////// public CodeCommentStatementCollection Comments { get { return comments; } } public CodeDirectiveCollection StartDirectives { get { if (startDirectives == null) { startDirectives = new CodeDirectiveCollection(); } return startDirectives; } } public CodeDirectiveCollection EndDirectives { get { if (endDirectives == null) { endDirectives = new CodeDirectiveCollection(); } return endDirectives ; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// Gets or sets the member comment collection members. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DataGridColumnCollection.cs
- Connector.xaml.cs
- ActivityExecutorSurrogate.cs
- NativeMsmqMessage.cs
- IndexOutOfRangeException.cs
- InternalConfirm.cs
- MemberDomainMap.cs
- Vector3DCollection.cs
- ScopelessEnumAttribute.cs
- ModifiableIteratorCollection.cs
- DesignerSerializationManager.cs
- DynamicRendererThreadManager.cs
- PolygonHotSpot.cs
- RowUpdatingEventArgs.cs
- DefaultObjectMappingItemCollection.cs
- CommonXSendMessage.cs
- ButtonChrome.cs
- pingexception.cs
- xsdvalidator.cs
- PolyLineSegmentFigureLogic.cs
- SafeArrayRankMismatchException.cs
- MetafileHeaderWmf.cs
- ReadContentAsBinaryHelper.cs
- XmlSerializerFactory.cs
- EventMappingSettings.cs
- VirtualPathProvider.cs
- FixedSOMLineRanges.cs
- TimeStampChecker.cs
- DeploymentSection.cs
- CodeAccessPermission.cs
- DataRowView.cs
- WithParamAction.cs
- EditorAttribute.cs
- SwitchAttribute.cs
- BlockExpression.cs
- InternalControlCollection.cs
- SchemaCollectionCompiler.cs
- RowToFieldTransformer.cs
- QueueSurrogate.cs
- BaseValidator.cs
- UpdatePanel.cs
- Fonts.cs
- ExitEventArgs.cs
- GenericAuthenticationEventArgs.cs
- DataObjectAttribute.cs
- EncoderParameter.cs
- OracleLob.cs
- StylusEventArgs.cs
- Triplet.cs
- CommonXSendMessage.cs
- safelink.cs
- WmpBitmapEncoder.cs
- ItemChangedEventArgs.cs
- RpcCryptoRequest.cs
- DebugView.cs
- RadialGradientBrush.cs
- Matrix3D.cs
- TextEditorLists.cs
- SecurityTokenAttachmentMode.cs
- RemotingAttributes.cs
- SqlProvider.cs
- GridProviderWrapper.cs
- TextRangeEdit.cs
- RunClient.cs
- Function.cs
- SettingsProperty.cs
- dbenumerator.cs
- SoapIncludeAttribute.cs
- RegexWorker.cs
- LambdaCompiler.ControlFlow.cs
- DataGridViewToolTip.cs
- Command.cs
- QuaternionRotation3D.cs
- WebPartZone.cs
- HelpEvent.cs
- DefaultTypeArgumentAttribute.cs
- SoapMessage.cs
- RecommendedAsConfigurableAttribute.cs
- ListBase.cs
- MenuItemAutomationPeer.cs
- ExpressionPrefixAttribute.cs
- DetailsViewDeletedEventArgs.cs
- PathGradientBrush.cs
- HandleTable.cs
- ChangeInterceptorAttribute.cs
- Camera.cs
- XslTransform.cs
- SoapFormatterSinks.cs
- OneOfTypeConst.cs
- CounterCreationDataCollection.cs
- SingleAnimationBase.cs
- RuleInfoComparer.cs
- COAUTHIDENTITY.cs
- Group.cs
- BitmapEffectState.cs
- XslVisitor.cs
- LazyTextWriterCreator.cs
- X509Logo.cs
- ObjectStateFormatter.cs
- Transactions.cs