Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- AppDomainEvidenceFactory.cs
- WindowAutomationPeer.cs
- FileDialog.cs
- RsaKeyIdentifierClause.cs
- ReferentialConstraint.cs
- Vector3DCollection.cs
- translator.cs
- DbException.cs
- DebugController.cs
- Assembly.cs
- HtmlWindowCollection.cs
- SqlConnectionPoolGroupProviderInfo.cs
- InvokeMethod.cs
- SafeRightsManagementSessionHandle.cs
- DataBoundControlHelper.cs
- UpdatableWrapper.cs
- ProviderConnectionPoint.cs
- PersonalizationProviderHelper.cs
- AuthenticationService.cs
- ComponentResourceManager.cs
- TypeSystem.cs
- ClientScriptManagerWrapper.cs
- TextPattern.cs
- SchemeSettingElement.cs
- TransactionTable.cs
- OrderToken.cs
- ExtensionFile.cs
- uribuilder.cs
- Localizer.cs
- _TimerThread.cs
- __TransparentProxy.cs
- ToolStripDesignerAvailabilityAttribute.cs
- CopyOnWriteList.cs
- AesManaged.cs
- X509SecurityTokenProvider.cs
- WsatAdminException.cs
- CatalogPartCollection.cs
- HelpOperationInvoker.cs
- SystemException.cs
- _SslSessionsCache.cs
- HttpProfileGroupBase.cs
- TextSpanModifier.cs
- DataSourceControlBuilder.cs
- UrlAuthorizationModule.cs
- StaticContext.cs
- XmlObjectSerializerWriteContextComplexJson.cs
- DataGridViewCell.cs
- IDQuery.cs
- XmlObjectSerializerWriteContextComplex.cs
- HtmlControl.cs
- ConfigUtil.cs
- ImageFormat.cs
- TreeNodeConverter.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- ApplicationException.cs
- Rotation3DAnimationBase.cs
- DynamicDocumentPaginator.cs
- PropertyRecord.cs
- DefinitionBase.cs
- TemplateEditingVerb.cs
- KerberosSecurityTokenAuthenticator.cs
- CustomAttributeBuilder.cs
- EmbeddedMailObjectsCollection.cs
- InternalConfigSettingsFactory.cs
- PointF.cs
- UIPropertyMetadata.cs
- UriSchemeKeyedCollection.cs
- SizeF.cs
- ContentFilePart.cs
- SqlAliasesReferenced.cs
- SystemColorTracker.cs
- CounterSampleCalculator.cs
- TcpAppDomainProtocolHandler.cs
- SctClaimDictionary.cs
- SQLBoolean.cs
- CurrencyManager.cs
- precedingquery.cs
- AppDomainCompilerProxy.cs
- WindowsListViewGroupHelper.cs
- HandleTable.cs
- EditCommandColumn.cs
- NamespaceEmitter.cs
- MultipleViewPattern.cs
- HttpListenerPrefixCollection.cs
- Size.cs
- MachinePropertyVariants.cs
- BaseConfigurationRecord.cs
- BindUriHelper.cs
- HttpProfileBase.cs
- AuthenticateEventArgs.cs
- Marshal.cs
- BaseDataBoundControlDesigner.cs
- ServiceOperationParameter.cs
- QilParameter.cs
- TypeDescriptionProvider.cs
- IssuedTokenClientBehaviorsElementCollection.cs
- FixedTextView.cs
- FilterEventArgs.cs
- ImportCatalogPart.cs
- SystemIPv4InterfaceProperties.cs