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
- DebugView.cs
- SecureConversationSecurityTokenParameters.cs
- TabItemWrapperAutomationPeer.cs
- Popup.cs
- EntityViewGenerator.cs
- ModelVisual3D.cs
- DataGridTextBox.cs
- StatusBar.cs
- DoubleIndependentAnimationStorage.cs
- ExpandableObjectConverter.cs
- PointAnimation.cs
- TextStore.cs
- DBSchemaTable.cs
- XmlSchemaAppInfo.cs
- Point3D.cs
- QueryReaderSettings.cs
- ConfigurationStrings.cs
- ISAPIRuntime.cs
- HandlerFactoryWrapper.cs
- FixedPageAutomationPeer.cs
- PKCS1MaskGenerationMethod.cs
- ToolStripGrip.cs
- cookiecollection.cs
- SafeCryptContextHandle.cs
- ProjectionCamera.cs
- StructureChangedEventArgs.cs
- ConfigurationManagerInternalFactory.cs
- CustomAttribute.cs
- ElementFactory.cs
- BamlResourceDeserializer.cs
- WmpBitmapDecoder.cs
- TemplateField.cs
- SmtpFailedRecipientException.cs
- Endpoint.cs
- ClipboardData.cs
- ToggleButton.cs
- BitmapData.cs
- ScrollPattern.cs
- XamlGridLengthSerializer.cs
- FontConverter.cs
- SqlProfileProvider.cs
- SelectionPattern.cs
- SafeThemeHandle.cs
- SuppressedPackageProperties.cs
- SessionParameter.cs
- GridViewHeaderRowPresenter.cs
- StickyNoteContentControl.cs
- WmlControlAdapter.cs
- SchemaConstraints.cs
- ReversePositionQuery.cs
- TimeBoundedCache.cs
- FixedNode.cs
- SettingsAttributes.cs
- Filter.cs
- XmlSchemas.cs
- SecurityTokenResolver.cs
- DirectoryInfo.cs
- BitmapImage.cs
- Membership.cs
- DatagridviewDisplayedBandsData.cs
- VoiceObjectToken.cs
- LabelLiteral.cs
- serverconfig.cs
- Point3DCollection.cs
- GenericNameHandler.cs
- DesignerForm.cs
- OleDbRowUpdatingEvent.cs
- SafeLibraryHandle.cs
- ToolStripLocationCancelEventArgs.cs
- SafeViewOfFileHandle.cs
- FixedPage.cs
- OleDbRowUpdatingEvent.cs
- BaseContextMenu.cs
- XhtmlMobileTextWriter.cs
- WindowsFormsHostPropertyMap.cs
- XmlEntityReference.cs
- PointValueSerializer.cs
- BaseValidatorDesigner.cs
- SQLInt64Storage.cs
- IWorkflowDebuggerService.cs
- ArraySubsetEnumerator.cs
- CreatingCookieEventArgs.cs
- Point3D.cs
- sqlser.cs
- BinarySerializer.cs
- TextOptionsInternal.cs
- WebServiceAttribute.cs
- PrintingPermissionAttribute.cs
- Model3DGroup.cs
- ClientRolePrincipal.cs
- ToolStripItemRenderEventArgs.cs
- ExpressionTextBox.xaml.cs
- Run.cs
- SplitterEvent.cs
- CreateUserErrorEventArgs.cs
- PageTheme.cs
- Emitter.cs
- TransactedBatchingBehavior.cs
- ParameterRetriever.cs
- ResourceContainer.cs