Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- QilDataSource.cs
- InstanceNotReadyException.cs
- DrawingContextWalker.cs
- InvocationExpression.cs
- RNGCryptoServiceProvider.cs
- TextElementEnumerator.cs
- SettingsProperty.cs
- SHA512.cs
- TableLayoutColumnStyleCollection.cs
- SystemNetworkInterface.cs
- RSACryptoServiceProvider.cs
- ReflectionPermission.cs
- Composition.cs
- NonVisualControlAttribute.cs
- _HelperAsyncResults.cs
- MarkupWriter.cs
- COM2Enum.cs
- ModuleElement.cs
- SchemaConstraints.cs
- DllNotFoundException.cs
- ToolStripPanelCell.cs
- CopyAction.cs
- XmlDataSource.cs
- DataGridRelationshipRow.cs
- SiteMembershipCondition.cs
- RangeContentEnumerator.cs
- GorillaCodec.cs
- XmlNodeReader.cs
- PageOrientation.cs
- FieldDescriptor.cs
- ContentTextAutomationPeer.cs
- CreateUserWizardStep.cs
- SqlPersonalizationProvider.cs
- DataGridViewCellCollection.cs
- ProcessManager.cs
- AssemblyBuilderData.cs
- ListenerElementsCollection.cs
- InplaceBitmapMetadataWriter.cs
- PerformanceCountersBase.cs
- SafeProcessHandle.cs
- TypedTableGenerator.cs
- DocumentViewerHelper.cs
- Content.cs
- AnnotationMap.cs
- EntityDataSourceContextCreatingEventArgs.cs
- CustomErrorsSection.cs
- WSFederationHttpBindingCollectionElement.cs
- TimeSpan.cs
- TextElementAutomationPeer.cs
- XmlUTF8TextReader.cs
- SQLRoleProvider.cs
- CodeSubDirectory.cs
- BinaryObjectInfo.cs
- TextAdaptor.cs
- DataSourceView.cs
- FormatException.cs
- ConnectionPointConverter.cs
- ListSurrogate.cs
- SafeCertificateStore.cs
- TaiwanLunisolarCalendar.cs
- FileRecordSequence.cs
- InplaceBitmapMetadataWriter.cs
- DataTableCollection.cs
- EntityContainerEntitySetDefiningQuery.cs
- WindowInteropHelper.cs
- ArglessEventHandlerProxy.cs
- DataGridViewUtilities.cs
- PreservationFileWriter.cs
- CategoryAttribute.cs
- DataGridViewColumn.cs
- GenericIdentity.cs
- VariableAction.cs
- BinaryFormatterWriter.cs
- DateTimeValueSerializerContext.cs
- Page.cs
- HttpHandlerAction.cs
- XmlILStorageConverter.cs
- VisualProxy.cs
- TcpConnectionPoolSettingsElement.cs
- PropertyBuilder.cs
- TimelineGroup.cs
- CodeAttributeArgumentCollection.cs
- TraceFilter.cs
- ToggleButtonAutomationPeer.cs
- COM2IPerPropertyBrowsingHandler.cs
- LookupBindingPropertiesAttribute.cs
- ReadOnlyDictionary.cs
- Hash.cs
- DrawingAttributeSerializer.cs
- ConfigurationManager.cs
- Int32CollectionConverter.cs
- TextDecoration.cs
- XmlAttributeCollection.cs
- VerificationAttribute.cs
- SmiEventSink_Default.cs
- MultiAsyncResult.cs
- KeyConverter.cs
- XPathNodeInfoAtom.cs
- RealizationContext.cs
- Translator.cs