Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / CompMod / System / CodeDOM / CodeMemberField.cs / 1 / CodeMemberField.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ////// [ ClassInterface(ClassInterfaceType.AutoDispatch), ComVisible(true), Serializable, ] public class CodeMemberField : CodeTypeMember { private CodeTypeReference type; private CodeExpression initExpression; ////// Represents a class field member. /// ////// public CodeMemberField() { } ////// Initializes a new ///. /// /// public CodeMemberField(CodeTypeReference type, string name) { Type = type; Name = name; } ////// Initializes a new ///with the specified member field type and /// name. /// /// public CodeMemberField(string type, string name) { Type = new CodeTypeReference(type); Name = name; } ///[To be supplied.] ////// public CodeMemberField(Type type, string name) { Type = new CodeTypeReference(type); Name = name; } ///[To be supplied.] ////// public CodeTypeReference Type { get { if (type == null) { type = new CodeTypeReference(""); } return type; } set { type = value; } } ////// Gets or sets the member field type. /// ////// public CodeExpression InitExpression { get { return initExpression; } set { initExpression = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// Gets or sets the initialization expression for the member field. /// ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ////// [ ClassInterface(ClassInterfaceType.AutoDispatch), ComVisible(true), Serializable, ] public class CodeMemberField : CodeTypeMember { private CodeTypeReference type; private CodeExpression initExpression; ////// Represents a class field member. /// ////// public CodeMemberField() { } ////// Initializes a new ///. /// /// public CodeMemberField(CodeTypeReference type, string name) { Type = type; Name = name; } ////// Initializes a new ///with the specified member field type and /// name. /// /// public CodeMemberField(string type, string name) { Type = new CodeTypeReference(type); Name = name; } ///[To be supplied.] ////// public CodeMemberField(Type type, string name) { Type = new CodeTypeReference(type); Name = name; } ///[To be supplied.] ////// public CodeTypeReference Type { get { if (type == null) { type = new CodeTypeReference(""); } return type; } set { type = value; } } ////// Gets or sets the member field type. /// ////// public CodeExpression InitExpression { get { return initExpression; } set { initExpression = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// Gets or sets the initialization expression for the member field. /// ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- loginstatus.cs
- Preprocessor.cs
- MemberDomainMap.cs
- AncestorChangedEventArgs.cs
- FilterUserControlBase.cs
- XmlNodeChangedEventArgs.cs
- UpDownEvent.cs
- OutputCacheSettings.cs
- SqlCharStream.cs
- StaticExtensionConverter.cs
- EntityClientCacheEntry.cs
- DataGridViewColumnCollection.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- HMACRIPEMD160.cs
- EntryIndex.cs
- ProcessThread.cs
- GuidelineCollection.cs
- SourceSwitch.cs
- SoundPlayerAction.cs
- WmpBitmapDecoder.cs
- InternalBufferOverflowException.cs
- SerializationInfo.cs
- GridViewSortEventArgs.cs
- Compiler.cs
- LassoSelectionBehavior.cs
- HScrollProperties.cs
- DrawingContext.cs
- ScrollChangedEventArgs.cs
- UnsafeNativeMethods.cs
- DataSourceControlBuilder.cs
- HttpCookieCollection.cs
- EdmComplexTypeAttribute.cs
- PackageFilter.cs
- cryptoapiTransform.cs
- precedingsibling.cs
- _HTTPDateParse.cs
- JsonFormatReaderGenerator.cs
- XmlNode.cs
- PartManifestEntry.cs
- StrokeCollectionConverter.cs
- SqlUtils.cs
- QilReplaceVisitor.cs
- MemoryRecordBuffer.cs
- Int16.cs
- PropertyConverter.cs
- SingleConverter.cs
- Attributes.cs
- safemediahandle.cs
- WindowsFormsDesignerOptionService.cs
- WebRequest.cs
- Misc.cs
- UInt32.cs
- ChangePassword.cs
- PanningMessageFilter.cs
- IssuedTokenClientBehaviorsElementCollection.cs
- GregorianCalendar.cs
- CompiledQuery.cs
- SecurityHeaderTokenResolver.cs
- RMEnrollmentPage1.cs
- DataGridViewTextBoxEditingControl.cs
- BooleanSwitch.cs
- LockRecursionException.cs
- GuidelineCollection.cs
- CompoundFileStorageReference.cs
- Module.cs
- DetailsViewPagerRow.cs
- Win32Native.cs
- PrintEvent.cs
- TraceContextEventArgs.cs
- GlobalAllocSafeHandle.cs
- ProfileManager.cs
- DataGridLinkButton.cs
- SqlDataSourceCommandParser.cs
- CollectionExtensions.cs
- LinqDataSourceDeleteEventArgs.cs
- PathFigure.cs
- SemaphoreSecurity.cs
- ISCIIEncoding.cs
- DetailsViewModeEventArgs.cs
- MetadataHelper.cs
- QueryReaderSettings.cs
- Regex.cs
- CodeGotoStatement.cs
- EventLogPermissionEntry.cs
- EdmConstants.cs
- UntrustedRecipientException.cs
- WorkflowWebService.cs
- FrameworkTemplate.cs
- HtmlTableRow.cs
- ClientSideProviderDescription.cs
- AppDomainProtocolHandler.cs
- Journal.cs
- SafeLocalAllocation.cs
- ContentValidator.cs
- UdpDiscoveryEndpointElement.cs
- XPathSingletonIterator.cs
- OracleInfoMessageEventArgs.cs
- DocumentReferenceCollection.cs
- ConfigurationManagerInternalFactory.cs
- ToolZone.cs