Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / CodeDOM / CodeMemberField.cs / 1305376 / CodeMemberField.cs
//------------------------------------------------------------------------------ //// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ 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. /// ///// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ 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
- MessageRpc.cs
- FullTextState.cs
- DBSchemaRow.cs
- CustomCategoryAttribute.cs
- HttpRawResponse.cs
- ObjectIDGenerator.cs
- DataGridItemAttachedStorage.cs
- HttpCookie.cs
- DrawingState.cs
- SafeRightsManagementPubHandle.cs
- XmlCharCheckingWriter.cs
- BrowsableAttribute.cs
- ParserHooks.cs
- SqlProvider.cs
- ParameterCollection.cs
- BindingExpressionUncommonField.cs
- EventItfInfo.cs
- StylusShape.cs
- XPathNavigatorReader.cs
- ApplyImportsAction.cs
- SchemaElementLookUpTableEnumerator.cs
- SessionState.cs
- SqlRowUpdatingEvent.cs
- ResourceContainer.cs
- DataGridTablesFactory.cs
- WinEventTracker.cs
- StylusOverProperty.cs
- TextEditorDragDrop.cs
- UserControlDesigner.cs
- ProviderCommandInfoUtils.cs
- DataGridViewComboBoxCell.cs
- Add.cs
- mediapermission.cs
- FilteredDataSetHelper.cs
- XmlSchemaSimpleTypeRestriction.cs
- NetDataContractSerializer.cs
- Monitor.cs
- KnownBoxes.cs
- TypeValidationEventArgs.cs
- Triplet.cs
- BindableTemplateBuilder.cs
- ReliableSessionBindingElement.cs
- XmlNode.cs
- FacetChecker.cs
- DataGridRowHeaderAutomationPeer.cs
- Compilation.cs
- BrowserCapabilitiesFactoryBase.cs
- CodeIterationStatement.cs
- XomlDesignerLoader.cs
- HostProtectionPermission.cs
- HttpStreams.cs
- SudsCommon.cs
- SerializationStore.cs
- PropertyMappingExceptionEventArgs.cs
- ToolStripPanelCell.cs
- CompositeCollection.cs
- SoapExtensionTypeElementCollection.cs
- _Win32.cs
- ComEventsHelper.cs
- JulianCalendar.cs
- ApplicationHost.cs
- RootProfilePropertySettingsCollection.cs
- ClipboardProcessor.cs
- IdleTimeoutMonitor.cs
- PerformanceCounter.cs
- DeferredReference.cs
- RenderData.cs
- ClickablePoint.cs
- TextRunProperties.cs
- HttpHandlerAction.cs
- SqlDataSourceQueryEditor.cs
- webbrowsersite.cs
- CodeDirectionExpression.cs
- X509Certificate2.cs
- TargetPerspective.cs
- SubclassTypeValidatorAttribute.cs
- CodeStatementCollection.cs
- BaseEntityWrapper.cs
- InteropBitmapSource.cs
- ADMembershipProvider.cs
- GridViewUpdateEventArgs.cs
- RegexRunner.cs
- NextPreviousPagerField.cs
- AssemblySettingAttributes.cs
- TaiwanLunisolarCalendar.cs
- TextFormatterImp.cs
- recordstatefactory.cs
- HttpListenerException.cs
- WindowsIPAddress.cs
- DataGridViewComboBoxColumnDesigner.cs
- RightsManagementEncryptedStream.cs
- XmlReaderSettings.cs
- GridItem.cs
- Int32Converter.cs
- TextServicesCompartmentEventSink.cs
- ScriptComponentDescriptor.cs
- ExpressionWriter.cs
- SettingsPropertyValue.cs
- TransactionChannelListener.cs
- DiffuseMaterial.cs