Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Xml / System / Xml / Serialization / XmlAttributeAttribute.cs / 1305376 / XmlAttributeAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- namespace System.Xml.Serialization { using System; using System.Xml.Schema; ////// /// [AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue)] public class XmlAttributeAttribute : System.Attribute { string attributeName; Type type; string ns; string dataType; XmlSchemaForm form = XmlSchemaForm.None; ///[To be supplied.] ////// /// public XmlAttributeAttribute() { } ///[To be supplied.] ////// /// public XmlAttributeAttribute(string attributeName) { this.attributeName = attributeName; } ///[To be supplied.] ////// /// public XmlAttributeAttribute(Type type) { this.type = type; } ///[To be supplied.] ////// /// public XmlAttributeAttribute(string attributeName, Type type) { this.attributeName = attributeName; this.type = type; } ///[To be supplied.] ////// /// public Type Type { get { return type; } set { type = value; } } ///[To be supplied.] ////// /// public string AttributeName { get { return attributeName == null ? string.Empty : attributeName; } set { attributeName = value; } } ///[To be supplied.] ////// /// public string Namespace { get { return ns; } set { ns = value; } } ///[To be supplied.] ////// /// public string DataType { get { return dataType == null ? string.Empty : dataType; } set { dataType = value; } } ///[To be supplied.] ////// /// public XmlSchemaForm Form { get { return form; } set { form = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //[To be supplied.] ///// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- namespace System.Xml.Serialization { using System; using System.Xml.Schema; ////// /// [AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue)] public class XmlAttributeAttribute : System.Attribute { string attributeName; Type type; string ns; string dataType; XmlSchemaForm form = XmlSchemaForm.None; ///[To be supplied.] ////// /// public XmlAttributeAttribute() { } ///[To be supplied.] ////// /// public XmlAttributeAttribute(string attributeName) { this.attributeName = attributeName; } ///[To be supplied.] ////// /// public XmlAttributeAttribute(Type type) { this.type = type; } ///[To be supplied.] ////// /// public XmlAttributeAttribute(string attributeName, Type type) { this.attributeName = attributeName; this.type = type; } ///[To be supplied.] ////// /// public Type Type { get { return type; } set { type = value; } } ///[To be supplied.] ////// /// public string AttributeName { get { return attributeName == null ? string.Empty : attributeName; } set { attributeName = value; } } ///[To be supplied.] ////// /// public string Namespace { get { return ns; } set { ns = value; } } ///[To be supplied.] ////// /// public string DataType { get { return dataType == null ? string.Empty : dataType; } set { dataType = value; } } ///[To be supplied.] ////// /// public XmlSchemaForm Form { get { return form; } set { form = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.[To be supplied.] ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- AsyncMethodInvoker.cs
- Graphics.cs
- WindowsFormsHost.cs
- CounterCreationDataCollection.cs
- WebPart.cs
- TableLayoutCellPaintEventArgs.cs
- QilInvokeEarlyBound.cs
- StreamMarshaler.cs
- ToolStripSeparatorRenderEventArgs.cs
- EncodingDataItem.cs
- propertytag.cs
- HtmlHead.cs
- DbProviderFactory.cs
- DependencyProperty.cs
- ControlBindingsCollection.cs
- OleDbError.cs
- PassportAuthenticationModule.cs
- BindingWorker.cs
- SqlDataSourceCache.cs
- IERequestCache.cs
- Camera.cs
- Light.cs
- SafeSystemMetrics.cs
- ArraySortHelper.cs
- StaticResourceExtension.cs
- NodeFunctions.cs
- OleDbPermission.cs
- Keywords.cs
- PlatformCulture.cs
- SplitterCancelEvent.cs
- HealthMonitoringSection.cs
- PropertyTab.cs
- ConfigurationManagerHelperFactory.cs
- OpenTypeCommon.cs
- PersonalizationStateQuery.cs
- ContextStack.cs
- BinaryUtilClasses.cs
- DecoderExceptionFallback.cs
- ConfigurationStrings.cs
- DBConnection.cs
- MatrixCamera.cs
- PagedDataSource.cs
- NameTable.cs
- PersonalizationProviderCollection.cs
- XPathNodeIterator.cs
- ObjectPersistData.cs
- AuthenticationModulesSection.cs
- RootProfilePropertySettingsCollection.cs
- TagPrefixInfo.cs
- TreeIterator.cs
- Matrix3D.cs
- FrameSecurityDescriptor.cs
- relpropertyhelper.cs
- DrawingAttributesDefaultValueFactory.cs
- BoolExpressionVisitors.cs
- FlowDocumentPage.cs
- CollectionBase.cs
- TypeUsageBuilder.cs
- CompoundFileIOPermission.cs
- ApplicationActivator.cs
- FileLogRecordStream.cs
- XmlDataSourceView.cs
- Storyboard.cs
- PriorityQueue.cs
- RC2.cs
- NamespaceMapping.cs
- webbrowsersite.cs
- ResXResourceReader.cs
- CloseCryptoHandleRequest.cs
- counter.cs
- TriggerCollection.cs
- CopyNamespacesAction.cs
- DependencyObjectValidator.cs
- wgx_render.cs
- TrackingProfileDeserializationException.cs
- AspNetSynchronizationContext.cs
- SynthesizerStateChangedEventArgs.cs
- ActivationArguments.cs
- BrowserCapabilitiesCompiler.cs
- SafeNativeMethods.cs
- XmlEncodedRawTextWriter.cs
- BinaryConverter.cs
- ForeignKeyConstraint.cs
- CultureInfoConverter.cs
- HttpConfigurationSystem.cs
- Automation.cs
- DPTypeDescriptorContext.cs
- TypeResolvingOptions.cs
- TcpTransportSecurityElement.cs
- LocalFileSettingsProvider.cs
- ImageEditor.cs
- RightsManagementPermission.cs
- ProfileModule.cs
- _SingleItemRequestCache.cs
- SaveFileDialog.cs
- XmlAttributeCache.cs
- SqlFactory.cs
- ContainsRowNumberChecker.cs
- TextServicesLoader.cs
- Listbox.cs