Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- SymbolEqualComparer.cs
- SerializationEventsCache.cs
- TemplatedMailWebEventProvider.cs
- TableLayoutCellPaintEventArgs.cs
- DataGridViewColumnHeaderCell.cs
- HorizontalAlignConverter.cs
- WebSysDisplayNameAttribute.cs
- ProgressiveCrcCalculatingStream.cs
- RegionIterator.cs
- assemblycache.cs
- MsmqInputChannelBase.cs
- AlternateViewCollection.cs
- ScalarConstant.cs
- SrgsElementFactory.cs
- NativeActivityTransactionContext.cs
- ScriptReferenceBase.cs
- PermissionAttributes.cs
- SHA512Managed.cs
- SqlProfileProvider.cs
- MaxSessionCountExceededException.cs
- BasePropertyDescriptor.cs
- _SSPISessionCache.cs
- ControlPropertyNameConverter.cs
- XPathDocument.cs
- SecurityProtocol.cs
- WebPartAddingEventArgs.cs
- Debugger.cs
- DesignerTextBoxAdapter.cs
- SrgsText.cs
- AsyncPostBackErrorEventArgs.cs
- XmlDigitalSignatureProcessor.cs
- ICspAsymmetricAlgorithm.cs
- InputScopeConverter.cs
- MemberMemberBinding.cs
- ComplexBindingPropertiesAttribute.cs
- JoinQueryOperator.cs
- XmlSchemaSimpleContentExtension.cs
- LabelEditEvent.cs
- SrgsNameValueTag.cs
- TransactionFilter.cs
- XpsColorContext.cs
- SubclassTypeValidatorAttribute.cs
- SolidColorBrush.cs
- PDBReader.cs
- StateManagedCollection.cs
- RuleInfoComparer.cs
- TemplateDefinition.cs
- PaperSource.cs
- TextSegment.cs
- CroppedBitmap.cs
- ContextBase.cs
- Queue.cs
- DownloadProgressEventArgs.cs
- SequentialActivityDesigner.cs
- Crypto.cs
- StateWorkerRequest.cs
- EventMappingSettingsCollection.cs
- SlipBehavior.cs
- DataServiceQueryContinuation.cs
- AssemblyAttributes.cs
- PropertyDescriptorGridEntry.cs
- TextTabProperties.cs
- IntranetCredentialPolicy.cs
- Variant.cs
- DocumentSchemaValidator.cs
- DesignerAttribute.cs
- DataGridViewButtonColumn.cs
- RoutedPropertyChangedEventArgs.cs
- BamlMapTable.cs
- ImageInfo.cs
- TextTabProperties.cs
- PageThemeCodeDomTreeGenerator.cs
- Errors.cs
- RequestResizeEvent.cs
- ObjectViewFactory.cs
- DataMemberFieldConverter.cs
- PlatformNotSupportedException.cs
- SafeTimerHandle.cs
- LabelDesigner.cs
- XhtmlBasicControlAdapter.cs
- EditCommandColumn.cs
- ADConnectionHelper.cs
- BrowserTree.cs
- DataSourceHelper.cs
- LightweightCodeGenerator.cs
- RTLAwareMessageBox.cs
- RegistryPermission.cs
- WebServicesDescriptionAttribute.cs
- NavigatorInput.cs
- Int64Storage.cs
- CookieHandler.cs
- DataGridViewUtilities.cs
- ControlIdConverter.cs
- HwndMouseInputProvider.cs
- COM2ExtendedUITypeEditor.cs
- SqlUdtInfo.cs
- LineVisual.cs
- ParenthesizePropertyNameAttribute.cs
- UserControlCodeDomTreeGenerator.cs
- EventLogReader.cs