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
- listitem.cs
- Recipient.cs
- PatternMatcher.cs
- ClientApiGenerator.cs
- RootBuilder.cs
- AttributeEmitter.cs
- SqlDataSource.cs
- EnumUnknown.cs
- FileVersionInfo.cs
- IsolatedStorageFilePermission.cs
- PagesSection.cs
- SharedUtils.cs
- FontStyle.cs
- TemplateColumn.cs
- CodeExpressionCollection.cs
- LoginName.cs
- Thread.cs
- SqlExpander.cs
- CookieParameter.cs
- WindowsGraphics.cs
- WebDisplayNameAttribute.cs
- HttpDebugHandler.cs
- KoreanCalendar.cs
- HelpPage.cs
- IHttpResponseInternal.cs
- SpeechEvent.cs
- DependencyPropertyConverter.cs
- XmlArrayItemAttribute.cs
- InputProcessorProfilesLoader.cs
- ProcessInfo.cs
- BindingValueChangedEventArgs.cs
- Matrix.cs
- WindowsGraphicsWrapper.cs
- ImageAttributes.cs
- BindableAttribute.cs
- HttpResponseInternalWrapper.cs
- ArrangedElementCollection.cs
- TraceUtility.cs
- IisTraceListener.cs
- InputScopeNameConverter.cs
- ScriptRef.cs
- FormatterConverter.cs
- Button.cs
- IOException.cs
- KeyedQueue.cs
- LinkDesigner.cs
- X509RecipientCertificateClientElement.cs
- UICuesEvent.cs
- ExceptionNotification.cs
- SystemResourceKey.cs
- DateTimeEditor.cs
- SafeRightsManagementSessionHandle.cs
- XamlTypeMapper.cs
- SerializationStore.cs
- ToolStripPanelRenderEventArgs.cs
- LookupNode.cs
- NameValueCollection.cs
- InternalDispatchObject.cs
- CompositeDataBoundControl.cs
- ToolboxDataAttribute.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- ValueCollectionParameterReader.cs
- System.Data.OracleClient_BID.cs
- EntityDataSourceState.cs
- HttpContext.cs
- ByteStreamMessageEncoderFactory.cs
- HtmlInputFile.cs
- DistinctQueryOperator.cs
- LogicalExpressionTypeConverter.cs
- QueueProcessor.cs
- UnmanagedMarshal.cs
- GridViewDeleteEventArgs.cs
- XsltContext.cs
- ResolveDuplexAsyncResult.cs
- PriorityBinding.cs
- StrongNameMembershipCondition.cs
- LoginCancelEventArgs.cs
- RichTextBoxAutomationPeer.cs
- SBCSCodePageEncoding.cs
- ContentDefinition.cs
- Rect3D.cs
- ResXDataNode.cs
- StateWorkerRequest.cs
- TextParagraphView.cs
- DetailsViewDeletedEventArgs.cs
- HashCodeCombiner.cs
- DataGridViewColumnStateChangedEventArgs.cs
- ValidationEventArgs.cs
- DrawToolTipEventArgs.cs
- SkinBuilder.cs
- IDReferencePropertyAttribute.cs
- CalloutQueueItem.cs
- DataGridViewMethods.cs
- XpsResourcePolicy.cs
- SendReply.cs
- input.cs
- Bind.cs
- ScriptingAuthenticationServiceSection.cs
- SafeBuffer.cs
- Parser.cs