Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / Xml / System / Xml / Serialization / XmlAttributeAttribute.cs / 1 / 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
- ToolConsole.cs
- ServiceReference.cs
- StreamWithDictionary.cs
- Splitter.cs
- PopOutPanel.cs
- FrameworkRichTextComposition.cs
- SafeRightsManagementQueryHandle.cs
- TableHeaderCell.cs
- HashCryptoHandle.cs
- EventBookmark.cs
- RecognitionEventArgs.cs
- BamlTreeMap.cs
- TextBox.cs
- CodeTypeOfExpression.cs
- WorkflowElementDialogWindow.xaml.cs
- BindingSource.cs
- SparseMemoryStream.cs
- ListDictionaryInternal.cs
- DelayLoadType.cs
- AttachedPropertyMethodSelector.cs
- SqlFlattener.cs
- LogWriteRestartAreaAsyncResult.cs
- EntityDescriptor.cs
- _NTAuthentication.cs
- XmlQualifiedName.cs
- BreakSafeBase.cs
- InputLanguageCollection.cs
- CodeMemberEvent.cs
- ObjectDataSource.cs
- FocusManager.cs
- EmptyReadOnlyDictionaryInternal.cs
- KeyEvent.cs
- Dictionary.cs
- RightsManagementEncryptionTransform.cs
- StringHandle.cs
- DtrList.cs
- HtmlDocument.cs
- PolyLineSegmentFigureLogic.cs
- SiblingIterators.cs
- PreviousTrackingServiceAttribute.cs
- BufferedGraphicsContext.cs
- HtmlMeta.cs
- GacUtil.cs
- DesignerActionKeyboardBehavior.cs
- XmlSchemaParticle.cs
- TextRunProperties.cs
- FrameworkElementFactoryMarkupObject.cs
- DPAPIProtectedConfigurationProvider.cs
- ScrollItemPattern.cs
- Message.cs
- NameValueSectionHandler.cs
- EmptyReadOnlyDictionaryInternal.cs
- BindingFormattingDialog.cs
- RIPEMD160.cs
- SoapEnumAttribute.cs
- SoapAttributeOverrides.cs
- IxmlLineInfo.cs
- HandleCollector.cs
- DataControlFieldHeaderCell.cs
- CollectionConverter.cs
- UInt64Converter.cs
- CodeStatement.cs
- InkCanvasSelectionAdorner.cs
- ClientFormsAuthenticationMembershipProvider.cs
- NamedPipeTransportSecurity.cs
- StreamInfo.cs
- SdlChannelSink.cs
- Deflater.cs
- base64Transforms.cs
- TransactionOptions.cs
- SubMenuStyle.cs
- Models.cs
- DictationGrammar.cs
- AffineTransform3D.cs
- ManualResetEvent.cs
- SchemaImporterExtension.cs
- DesignerDataSchemaClass.cs
- RTLAwareMessageBox.cs
- XsltQilFactory.cs
- localization.cs
- DataTemplateKey.cs
- XmlLangPropertyAttribute.cs
- TableRowCollection.cs
- GACIdentityPermission.cs
- TableMethodGenerator.cs
- EnlistmentTraceIdentifier.cs
- TablePattern.cs
- OutputCacheSettings.cs
- ExpressionBuilderContext.cs
- WindowsListViewGroup.cs
- GridViewActionList.cs
- NativeMethodsCLR.cs
- MimeObjectFactory.cs
- DeleteWorkflowOwnerCommand.cs
- DataServiceHostFactory.cs
- ProviderConnectionPointCollection.cs
- ShaperBuffers.cs
- GroupBox.cs
- RemotingSurrogateSelector.cs
- HwndAppCommandInputProvider.cs