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
- PagesChangedEventArgs.cs
- webproxy.cs
- HttpHandlerActionCollection.cs
- ScriptServiceAttribute.cs
- ClientTargetSection.cs
- CollectionViewProxy.cs
- SamlSecurityTokenAuthenticator.cs
- OperationParameterInfoCollection.cs
- InputLanguageManager.cs
- PermissionSetEnumerator.cs
- Serialization.cs
- SmiXetterAccessMap.cs
- QueryOutputWriter.cs
- SubtreeProcessor.cs
- EnterpriseServicesHelper.cs
- InstancePersistenceException.cs
- SelectionGlyphBase.cs
- ConstraintConverter.cs
- ContractDescription.cs
- BasePropertyDescriptor.cs
- PublisherMembershipCondition.cs
- EmptyCollection.cs
- DescriptionAttribute.cs
- SettingsPropertyNotFoundException.cs
- WebPartMinimizeVerb.cs
- DropTarget.cs
- XmlUnspecifiedAttribute.cs
- ButtonBaseAutomationPeer.cs
- FixUp.cs
- MonthCalendar.cs
- sitestring.cs
- StoreItemCollection.Loader.cs
- SqlBulkCopyColumnMappingCollection.cs
- DataGridViewCellParsingEventArgs.cs
- DeviceSpecificChoiceCollection.cs
- SchemaImporter.cs
- Component.cs
- DataGridViewSelectedCellCollection.cs
- Parallel.cs
- NestedContainer.cs
- PagerSettings.cs
- ConsumerConnectionPointCollection.cs
- DictionarySectionHandler.cs
- Point3DAnimationBase.cs
- CompiledIdentityConstraint.cs
- ConfigurationPermission.cs
- SqlDataSourceFilteringEventArgs.cs
- ConnectionStringSettings.cs
- Region.cs
- Constant.cs
- StringConverter.cs
- PropertyGridEditorPart.cs
- CompositeControlDesigner.cs
- SQLByte.cs
- ContextInformation.cs
- NotifyInputEventArgs.cs
- ModelItemExtensions.cs
- ScriptMethodAttribute.cs
- WsdlServiceChannelBuilder.cs
- BypassElement.cs
- LinkTarget.cs
- Misc.cs
- ICspAsymmetricAlgorithm.cs
- WinEventWrap.cs
- ToolboxItemSnapLineBehavior.cs
- RuntimeWrappedException.cs
- HttpValueCollection.cs
- WebPageTraceListener.cs
- DateTimeConverter.cs
- LongAverageAggregationOperator.cs
- HistoryEventArgs.cs
- _DynamicWinsockMethods.cs
- ReferencedType.cs
- CodeCommentStatement.cs
- BooleanStorage.cs
- SignedInfo.cs
- ButtonColumn.cs
- ItemsPresenter.cs
- MembershipUser.cs
- CompositeCollection.cs
- MetadataItemEmitter.cs
- DocumentSchemaValidator.cs
- LinearGradientBrush.cs
- IConvertible.cs
- MessagePartDescription.cs
- LabelEditEvent.cs
- ValidatingReaderNodeData.cs
- NotSupportedException.cs
- BounceEase.cs
- IdSpace.cs
- MutexSecurity.cs
- SendKeys.cs
- DesignerAdRotatorAdapter.cs
- ReferencedAssembly.cs
- MemberPath.cs
- MenuItem.cs
- DataGridTextBoxColumn.cs
- Page.cs
- ProtocolElementCollection.cs
- WindowsSecurityTokenAuthenticator.cs