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
- PlainXmlDeserializer.cs
- BamlResourceContent.cs
- CodeDomDesignerLoader.cs
- DataBindingList.cs
- InternalPermissions.cs
- DesignerCategoryAttribute.cs
- HttpCookiesSection.cs
- DrawTreeNodeEventArgs.cs
- Matrix.cs
- RemoteWebConfigurationHost.cs
- Light.cs
- UserNameSecurityTokenParameters.cs
- CapabilitiesUse.cs
- OdbcDataReader.cs
- SchemaImporter.cs
- ErrorRuntimeConfig.cs
- HtmlInputPassword.cs
- DesignerCommandAdapter.cs
- FilteredReadOnlyMetadataCollection.cs
- HtmlTextArea.cs
- RegexReplacement.cs
- TextFormatter.cs
- HttpProfileBase.cs
- ContainerParaClient.cs
- ConfigurationLockCollection.cs
- ToolboxDataAttribute.cs
- TextProviderWrapper.cs
- Panel.cs
- XmlUnspecifiedAttribute.cs
- FieldAccessException.cs
- BitmapDecoder.cs
- HelpKeywordAttribute.cs
- GetIndexBinder.cs
- ControlPropertyNameConverter.cs
- AuthenticationConfig.cs
- DataRelationCollection.cs
- RegexCompilationInfo.cs
- BaseComponentEditor.cs
- RootAction.cs
- WinEventTracker.cs
- QilGeneratorEnv.cs
- SchemeSettingElement.cs
- basecomparevalidator.cs
- UdpDiscoveryEndpoint.cs
- ImportException.cs
- ControlEvent.cs
- GridViewEditEventArgs.cs
- CultureInfo.cs
- ContainerControl.cs
- SessionStateSection.cs
- CurrencyManager.cs
- AttributeCollection.cs
- CellParagraph.cs
- BmpBitmapEncoder.cs
- Asn1Utilities.cs
- IncrementalReadDecoders.cs
- LayoutManager.cs
- Optimizer.cs
- SqlHelper.cs
- UndoManager.cs
- SqlTrackingQuery.cs
- DataContext.cs
- SeekStoryboard.cs
- Duration.cs
- shaperfactory.cs
- SQLUtility.cs
- SeverityFilter.cs
- DummyDataSource.cs
- PartitionedStreamMerger.cs
- Calendar.cs
- AspProxy.cs
- XmlStreamStore.cs
- DataGridViewCellCollection.cs
- StreamWithDictionary.cs
- _HTTPDateParse.cs
- QilReplaceVisitor.cs
- AutomationIdentifierGuids.cs
- HtmlTextArea.cs
- TextRunTypographyProperties.cs
- ImageSourceValueSerializer.cs
- SystemGatewayIPAddressInformation.cs
- CheckBoxRenderer.cs
- LocalizabilityAttribute.cs
- TreeViewDesigner.cs
- ReadWriteSpinLock.cs
- Or.cs
- Propagator.JoinPropagator.cs
- FocusChangedEventArgs.cs
- HttpCapabilitiesSectionHandler.cs
- InertiaExpansionBehavior.cs
- GeometryCollection.cs
- SamlNameIdentifierClaimResource.cs
- Attributes.cs
- HtmlDocument.cs
- LiteralSubsegment.cs
- Configuration.cs
- ActiveXContainer.cs
- XPathScanner.cs
- OleDbConnection.cs
- ComboBoxAutomationPeer.cs