Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / CodeDOM / CodeMemberField.cs / 1305376 / CodeMemberField.cs
//------------------------------------------------------------------------------ //// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ 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. /// ///// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ 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
- ResourceCategoryAttribute.cs
- AutomationElement.cs
- DataStorage.cs
- PieceDirectory.cs
- ProcessProtocolHandler.cs
- GridViewColumnHeaderAutomationPeer.cs
- MonitoringDescriptionAttribute.cs
- FrameworkElementFactoryMarkupObject.cs
- SharedMemory.cs
- CompressStream.cs
- RoleManagerSection.cs
- WorkflowTraceTransfer.cs
- PreviewPageInfo.cs
- InvokeProviderWrapper.cs
- EntryIndex.cs
- StylusPlugin.cs
- WsatAdminException.cs
- DataTransferEventArgs.cs
- XpsColorContext.cs
- FirstMatchCodeGroup.cs
- SoapExtensionTypeElement.cs
- XmlSchemaValidator.cs
- CustomError.cs
- ProxyElement.cs
- HttpHeaderCollection.cs
- CookieHandler.cs
- LineGeometry.cs
- SystemBrushes.cs
- CodeTypeDeclarationCollection.cs
- XmlDataSourceView.cs
- TreeView.cs
- WebDescriptionAttribute.cs
- CompilationUtil.cs
- formatter.cs
- ReadWriteSpinLock.cs
- LinqDataSourceContextData.cs
- ConvertersCollection.cs
- Vector3DIndependentAnimationStorage.cs
- WindowsFormsDesignerOptionService.cs
- InheritanceContextHelper.cs
- DetailsViewInsertedEventArgs.cs
- FrugalList.cs
- XsdDuration.cs
- DesignBindingPicker.cs
- DataTableNewRowEvent.cs
- OleDbError.cs
- RectangleConverter.cs
- CapabilitiesRule.cs
- XmlSchemaComplexContentExtension.cs
- SqlPersonalizationProvider.cs
- InfoCardTraceRecord.cs
- WebPartUtil.cs
- ReadingWritingEntityEventArgs.cs
- SID.cs
- TailCallAnalyzer.cs
- ScriptControlDescriptor.cs
- GenerateScriptTypeAttribute.cs
- MatcherBuilder.cs
- Vector3DKeyFrameCollection.cs
- PackagingUtilities.cs
- SymLanguageVendor.cs
- MarkupProperty.cs
- RegexCharClass.cs
- PipeStream.cs
- Matrix.cs
- TextBox.cs
- OdbcEnvironmentHandle.cs
- Panel.cs
- PeerNameRecordCollection.cs
- DynamicUpdateCommand.cs
- HtmlTextArea.cs
- RedirectionProxy.cs
- HotCommands.cs
- UIPermission.cs
- HttpServerUtilityBase.cs
- UniqueIdentifierService.cs
- CharConverter.cs
- Action.cs
- TextProviderWrapper.cs
- ComNativeDescriptor.cs
- OverrideMode.cs
- NotifyInputEventArgs.cs
- EditorZoneBase.cs
- RightsManagementSuppressedStream.cs
- SimplePropertyEntry.cs
- VisualStates.cs
- UpdateTranslator.cs
- TreeNodeConverter.cs
- TagPrefixAttribute.cs
- AsyncOperationManager.cs
- RemotingClientProxy.cs
- BlobPersonalizationState.cs
- RegularExpressionValidator.cs
- ITextView.cs
- DataKey.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- SmiEventStream.cs
- PreProcessInputEventArgs.cs
- CategoryAttribute.cs
- UserControlCodeDomTreeGenerator.cs