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
- VirtualPathProvider.cs
- PrintPreviewGraphics.cs
- Authorization.cs
- SecurityTokenAuthenticator.cs
- EndpointDispatcher.cs
- ScriptMethodAttribute.cs
- SqlMethodCallConverter.cs
- RestHandlerFactory.cs
- Stroke.cs
- SR.cs
- FunctionQuery.cs
- FileLevelControlBuilderAttribute.cs
- SecurityTokenException.cs
- DesignerVerb.cs
- ClrProviderManifest.cs
- TableLayout.cs
- diagnosticsswitches.cs
- SqlFunctionAttribute.cs
- StylusTouchDevice.cs
- SqlMethodAttribute.cs
- CompiledQuery.cs
- SQLMembershipProvider.cs
- SqlDataSourceCache.cs
- SimpleTypeResolver.cs
- AppSettingsExpressionEditor.cs
- XmlMemberMapping.cs
- XmlTextReader.cs
- ParsedAttributeCollection.cs
- ChangePasswordAutoFormat.cs
- LogManagementAsyncResult.cs
- Comparer.cs
- ParameterCollection.cs
- MouseEventArgs.cs
- PerfCounterSection.cs
- COM2TypeInfoProcessor.cs
- MarshalByValueComponent.cs
- FileDialogCustomPlacesCollection.cs
- XslException.cs
- KeyEvent.cs
- BooleanStorage.cs
- WindowsIdentity.cs
- FormViewInsertedEventArgs.cs
- JsonStringDataContract.cs
- XAMLParseException.cs
- SafeNativeMethods.cs
- SpellerStatusTable.cs
- TraceProvider.cs
- Stacktrace.cs
- ExceptionNotification.cs
- Menu.cs
- ObjectComplexPropertyMapping.cs
- WebPartsPersonalization.cs
- WebControl.cs
- StaticFileHandler.cs
- validation.cs
- TrailingSpaceComparer.cs
- EndpointAddressProcessor.cs
- HttpResponse.cs
- RuleRefElement.cs
- ResolveMatchesApril2005.cs
- FastEncoder.cs
- XmlSchemaDocumentation.cs
- Geometry.cs
- TextSchema.cs
- unitconverter.cs
- CollectionBuilder.cs
- AffineTransform3D.cs
- EventLog.cs
- Documentation.cs
- DependencyObjectValidator.cs
- PaintEvent.cs
- NTAccount.cs
- Context.cs
- HeaderCollection.cs
- SafeHandle.cs
- FederatedMessageSecurityOverHttpElement.cs
- _IPv4Address.cs
- ValueConversionAttribute.cs
- SvcMapFileSerializer.cs
- FixedNode.cs
- SettingsPropertyValue.cs
- TextClipboardData.cs
- DataRowChangeEvent.cs
- DeviceFilterEditorDialog.cs
- Executor.cs
- IgnorePropertiesAttribute.cs
- IListConverters.cs
- ObjectDataSourceMethodEventArgs.cs
- ThreadStartException.cs
- TabControl.cs
- NativeMethodsCLR.cs
- WindowInteropHelper.cs
- MobileListItem.cs
- Transform3DGroup.cs
- IdentitySection.cs
- filewebrequest.cs
- MD5.cs
- Track.cs
- TimeSpanOrInfiniteValidator.cs
- EdmSchemaAttribute.cs