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
- SynchronizedDispatch.cs
- XPathDocument.cs
- SecurityIdentifierElement.cs
- _NestedMultipleAsyncResult.cs
- SchemaLookupTable.cs
- PriorityRange.cs
- SettingsPropertyWrongTypeException.cs
- MultiPropertyDescriptorGridEntry.cs
- AutoGeneratedFieldProperties.cs
- HostingEnvironmentSection.cs
- Thickness.cs
- CheckBox.cs
- XmlConverter.cs
- Monitor.cs
- ExtentKey.cs
- EdmToObjectNamespaceMap.cs
- Vector3DCollectionConverter.cs
- AdornerLayer.cs
- UnionCodeGroup.cs
- AttributeCollection.cs
- Interop.cs
- CodeSnippetTypeMember.cs
- TreeNodeClickEventArgs.cs
- Logging.cs
- BufferAllocator.cs
- TimeZoneInfo.cs
- Int32Animation.cs
- UnsafeNativeMethods.cs
- ExtendedProperty.cs
- Attributes.cs
- CellParaClient.cs
- StylusButtonCollection.cs
- CompensableActivity.cs
- SystemIcmpV4Statistics.cs
- GridViewRow.cs
- SpellerError.cs
- CqlLexerHelpers.cs
- JpegBitmapDecoder.cs
- FileSystemEnumerable.cs
- CustomAssemblyResolver.cs
- BitmapEffectrendercontext.cs
- HandleRef.cs
- EntityCollectionChangedParams.cs
- RegistryExceptionHelper.cs
- DataGridViewRowEventArgs.cs
- RecordBuilder.cs
- DescendantOverDescendantQuery.cs
- UnknownWrapper.cs
- PtsHost.cs
- GridViewCellAutomationPeer.cs
- __Filters.cs
- SharedPersonalizationStateInfo.cs
- ByteStreamGeometryContext.cs
- EmptyQuery.cs
- XmlSchemaSimpleTypeUnion.cs
- ListSourceHelper.cs
- XmlNamedNodeMap.cs
- XamlPathDataSerializer.cs
- HttpValueCollection.cs
- AsymmetricSecurityProtocol.cs
- CodeIdentifiers.cs
- UnmanagedMarshal.cs
- UIServiceHelper.cs
- IsolatedStorageFilePermission.cs
- BamlReader.cs
- CacheManager.cs
- OpacityConverter.cs
- ListViewGroupConverter.cs
- SafeLibraryHandle.cs
- XmlSchemaChoice.cs
- TabItem.cs
- NumberFormatter.cs
- WindowPatternIdentifiers.cs
- DataGridViewAddColumnDialog.cs
- DataBoundControlDesigner.cs
- _UncName.cs
- AnnotationHighlightLayer.cs
- DbConnectionOptions.cs
- DataExpression.cs
- CacheRequest.cs
- ChangeProcessor.cs
- EntityContainerEntitySetDefiningQuery.cs
- SqlDataSourceQuery.cs
- XmlEncoding.cs
- SingleConverter.cs
- InkPresenterAutomationPeer.cs
- UserControl.cs
- AttachInfo.cs
- AsymmetricAlgorithm.cs
- PageSettings.cs
- DESCryptoServiceProvider.cs
- DataGridTextBoxColumn.cs
- IntPtr.cs
- InitializeCorrelation.cs
- PackWebRequestFactory.cs
- DBConnectionString.cs
- EmbeddedMailObjectsCollection.cs
- DeviceContext2.cs
- SHA256.cs
- EpmContentSerializer.cs