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
- InfoCardCryptoHelper.cs
- SerializationFieldInfo.cs
- _DomainName.cs
- CodeAccessPermission.cs
- AudienceUriMode.cs
- TableHeaderCell.cs
- StateMachine.cs
- XmlSchemaSequence.cs
- InProcStateClientManager.cs
- CompiledRegexRunner.cs
- SearchForVirtualItemEventArgs.cs
- SkewTransform.cs
- MarshalByValueComponent.cs
- XMLSyntaxException.cs
- XamlInt32CollectionSerializer.cs
- GridItem.cs
- InternalMappingException.cs
- MetadataArtifactLoaderFile.cs
- ConfigXmlElement.cs
- InProcStateClientManager.cs
- LambdaValue.cs
- XmlDomTextWriter.cs
- Visual.cs
- ElementHostAutomationPeer.cs
- InstanceLockedException.cs
- AddInBase.cs
- JpegBitmapEncoder.cs
- CompilerState.cs
- CultureData.cs
- bindurihelper.cs
- MarginsConverter.cs
- BackEase.cs
- DBCommand.cs
- Wizard.cs
- ContainerFilterService.cs
- OperationPickerDialog.designer.cs
- SiteMapPath.cs
- DataServiceException.cs
- WindowInteropHelper.cs
- DefaultAssemblyResolver.cs
- OpenTypeMethods.cs
- HybridWebProxyFinder.cs
- DesignerObjectListAdapter.cs
- CatalogZoneBase.cs
- AutomationProperties.cs
- MemberPathMap.cs
- SubstitutionList.cs
- LinqDataSourceStatusEventArgs.cs
- VectorCollectionConverter.cs
- EntityDataSourceQueryBuilder.cs
- RichTextBoxAutomationPeer.cs
- Effect.cs
- BlurBitmapEffect.cs
- ByteConverter.cs
- Schema.cs
- AddingNewEventArgs.cs
- SchemaRegistration.cs
- CacheMemory.cs
- StrokeDescriptor.cs
- AdRotator.cs
- XmlConvert.cs
- OracleLob.cs
- DataProtection.cs
- DataBinder.cs
- XmlnsPrefixAttribute.cs
- FragmentQueryKB.cs
- ClientFormsIdentity.cs
- HideDisabledControlAdapter.cs
- SoapFault.cs
- LinearQuaternionKeyFrame.cs
- ToolStripPanelCell.cs
- DiscoveryDocumentSearchPattern.cs
- WizardDesigner.cs
- QilGeneratorEnv.cs
- CompiledQuery.cs
- StoreItemCollection.cs
- TemplateNameScope.cs
- XmlNodeComparer.cs
- HorizontalAlignConverter.cs
- OracleRowUpdatingEventArgs.cs
- TextPatternIdentifiers.cs
- DefaultShape.cs
- Oid.cs
- SchemaObjectWriter.cs
- SmiXetterAccessMap.cs
- Expression.cs
- ProcessInfo.cs
- FrameworkRichTextComposition.cs
- ResourcePart.cs
- FrameworkContentElementAutomationPeer.cs
- StringValueSerializer.cs
- ListViewDeleteEventArgs.cs
- StrokeNodeEnumerator.cs
- CachedFontFace.cs
- FontWeights.cs
- ResourceDescriptionAttribute.cs
- FixedPageProcessor.cs
- MemberPath.cs
- ToolStripSplitButton.cs
- WebException.cs