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
- UInt16.cs
- FixedSOMLineCollection.cs
- ImageAnimator.cs
- DirectionalLight.cs
- TableColumnCollectionInternal.cs
- ReadOnlyObservableCollection.cs
- FileSecurity.cs
- ReadOnlyCollectionBase.cs
- SpeakInfo.cs
- AutomationElement.cs
- EntityTypeEmitter.cs
- HttpRawResponse.cs
- BodyGlyph.cs
- RoleService.cs
- OdbcFactory.cs
- MetadataAssemblyHelper.cs
- CompositeDataBoundControl.cs
- SnapLine.cs
- SecurityElement.cs
- ComponentEditorForm.cs
- DESCryptoServiceProvider.cs
- ProxyWebPartManagerDesigner.cs
- TextServicesPropertyRanges.cs
- EffectiveValueEntry.cs
- TextDecoration.cs
- DBConnectionString.cs
- PropertyDescriptorComparer.cs
- Point3DCollection.cs
- CacheDependency.cs
- AjaxFrameworkAssemblyAttribute.cs
- MenuItemStyleCollection.cs
- EllipseGeometry.cs
- XamlVector3DCollectionSerializer.cs
- TextDecorationCollection.cs
- SafeSecurityHandles.cs
- ScrollableControl.cs
- ValidatedMobileControlConverter.cs
- SharedDp.cs
- WebPartDeleteVerb.cs
- AuthenticationException.cs
- ConfigurationStrings.cs
- DrawingVisual.cs
- WhitespaceRuleLookup.cs
- PersonalizationProvider.cs
- Rotation3DAnimationUsingKeyFrames.cs
- FixedSOMFixedBlock.cs
- GridViewItemAutomationPeer.cs
- RefType.cs
- ColumnCollection.cs
- DockPanel.cs
- TextSelection.cs
- ByteStream.cs
- DefaultValueTypeConverter.cs
- MailMessageEventArgs.cs
- IResourceProvider.cs
- EncryptedData.cs
- ProfileSection.cs
- ActivitySurrogateSelector.cs
- TailCallAnalyzer.cs
- ResourceBinder.cs
- PeerEndPoint.cs
- PermissionSetEnumerator.cs
- HtmlPanelAdapter.cs
- MachineKeyConverter.cs
- FormViewInsertedEventArgs.cs
- XmlSerializerSection.cs
- CreateParams.cs
- ComponentEditorForm.cs
- DynamicDataResources.Designer.cs
- GridEntryCollection.cs
- WebContext.cs
- OdbcCommandBuilder.cs
- SemanticValue.cs
- ButtonRenderer.cs
- ActivityCompletionCallbackWrapper.cs
- Brushes.cs
- XamlInterfaces.cs
- RegularExpressionValidator.cs
- WebRequestModuleElement.cs
- AutoResetEvent.cs
- TrackingStringDictionary.cs
- ChangesetResponse.cs
- PublishLicense.cs
- TraceShell.cs
- CodeCommentStatementCollection.cs
- DiffuseMaterial.cs
- ProviderException.cs
- ValueType.cs
- loginstatus.cs
- SafeReversePInvokeHandle.cs
- LinkButton.cs
- MulticastDelegate.cs
- DeriveBytes.cs
- GcSettings.cs
- DesignerValidatorAdapter.cs
- CFStream.cs
- ContractHandle.cs
- ColumnWidthChangedEvent.cs
- storepermission.cs
- BamlVersionHeader.cs