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
- Int32.cs
- CryptoProvider.cs
- GlyphRun.cs
- Quad.cs
- XamlWriter.cs
- FormsAuthenticationConfiguration.cs
- ToggleButtonAutomationPeer.cs
- SurrogateDataContract.cs
- ISCIIEncoding.cs
- DataBindingExpressionBuilder.cs
- ListViewItemEventArgs.cs
- NamespaceQuery.cs
- WebProxyScriptElement.cs
- UTF8Encoding.cs
- Roles.cs
- LongValidatorAttribute.cs
- WebBrowserNavigatedEventHandler.cs
- UserPersonalizationStateInfo.cs
- WindowsEditBoxRange.cs
- ConnectionOrientedTransportManager.cs
- GraphicsPath.cs
- BitmapImage.cs
- GridLengthConverter.cs
- RefreshEventArgs.cs
- Style.cs
- StyleSheetRefUrlEditor.cs
- C14NUtil.cs
- EnumType.cs
- ImageMapEventArgs.cs
- ClrPerspective.cs
- DotNetATv1WindowsLogEntryDeserializer.cs
- GridEntry.cs
- SelfIssuedAuthRSAPKCS1SignatureFormatter.cs
- ConfigurationSectionCollection.cs
- GenericNameHandler.cs
- CallbackValidator.cs
- PropertyPathConverter.cs
- ToolBarDesigner.cs
- LocatorManager.cs
- SolidColorBrush.cs
- BaseCAMarshaler.cs
- SetterBase.cs
- DynamicDataExtensions.cs
- HtmlElement.cs
- QueryHandler.cs
- StructuralCache.cs
- InstalledFontCollection.cs
- MarkupExtensionParser.cs
- DataTransferEventArgs.cs
- CompModSwitches.cs
- ClientConfigurationSystem.cs
- SecurityPermission.cs
- DateTimeFormatInfoScanner.cs
- TextTreePropertyUndoUnit.cs
- TypeExtension.cs
- VersionedStream.cs
- WSSecurityOneDotZeroReceiveSecurityHeader.cs
- RefreshEventArgs.cs
- DefaultMemberAttribute.cs
- RemoteWebConfigurationHostStream.cs
- RegexReplacement.cs
- ExtenderProvidedPropertyAttribute.cs
- PeerMaintainer.cs
- PolicyLevel.cs
- ImmutableObjectAttribute.cs
- StrokeNodeData.cs
- StatusBarPanel.cs
- WindowsEditBox.cs
- RootAction.cs
- ClassData.cs
- DependencyPropertyChangedEventArgs.cs
- WebPartMenu.cs
- ObjectDataSourceStatusEventArgs.cs
- StructuralType.cs
- TreeNodeCollectionEditorDialog.cs
- TriState.cs
- ParallelSeparator.xaml.cs
- CodeObjectCreateExpression.cs
- ControlBuilderAttribute.cs
- ClientBuildManagerCallback.cs
- SQLUtility.cs
- MsmqIntegrationBindingElement.cs
- DataGridViewCellStyleChangedEventArgs.cs
- SoapObjectInfo.cs
- wgx_sdk_version.cs
- TableColumnCollectionInternal.cs
- Size.cs
- QueryRewriter.cs
- FontStretchConverter.cs
- CompressEmulationStream.cs
- FixedHyperLink.cs
- PassportAuthenticationEventArgs.cs
- SerializerWriterEventHandlers.cs
- UnsafeNativeMethodsTablet.cs
- PlatformCulture.cs
- IdentityElement.cs
- LocatorManager.cs
- ConfigurationSectionGroupCollection.cs
- ProtocolsConfiguration.cs
- OutputCacheModule.cs