Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / Xml / System / Xml / Serialization / XmlTypeAttribute.cs / 1 / XmlTypeAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- namespace System.Xml.Serialization { using System; ////// /// [AttributeUsage(AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Interface | AttributeTargets.Struct)] public class XmlTypeAttribute : System.Attribute { bool includeInSchema = true; bool anonymousType; string ns; string typeName; ///[To be supplied.] ////// /// public XmlTypeAttribute() { } ///[To be supplied.] ////// /// public XmlTypeAttribute(string typeName) { this.typeName = typeName; } ///[To be supplied.] ////// /// public bool AnonymousType { get { return anonymousType; } set { anonymousType = value; } } ///[To be supplied.] ////// /// public bool IncludeInSchema { get { return includeInSchema; } set { includeInSchema = value; } } ///[To be supplied.] ////// /// public string TypeName { get { return typeName == null ? string.Empty : typeName; } set { typeName = value; } } ///[To be supplied.] ////// /// public string Namespace { get { return ns; } set { ns = 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; ////// /// [AttributeUsage(AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Interface | AttributeTargets.Struct)] public class XmlTypeAttribute : System.Attribute { bool includeInSchema = true; bool anonymousType; string ns; string typeName; ///[To be supplied.] ////// /// public XmlTypeAttribute() { } ///[To be supplied.] ////// /// public XmlTypeAttribute(string typeName) { this.typeName = typeName; } ///[To be supplied.] ////// /// public bool AnonymousType { get { return anonymousType; } set { anonymousType = value; } } ///[To be supplied.] ////// /// public bool IncludeInSchema { get { return includeInSchema; } set { includeInSchema = value; } } ///[To be supplied.] ////// /// public string TypeName { get { return typeName == null ? string.Empty : typeName; } set { typeName = value; } } ///[To be supplied.] ////// /// public string Namespace { get { return ns; } set { ns = 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
- FileDialog_Vista.cs
- ToolboxComponentsCreatedEventArgs.cs
- InplaceBitmapMetadataWriter.cs
- DrawingAttributes.cs
- FileAuthorizationModule.cs
- InternalPermissions.cs
- FragmentQueryProcessor.cs
- SessionEndingEventArgs.cs
- ExpressionVisitor.cs
- NameValueFileSectionHandler.cs
- MbpInfo.cs
- SymbolMethod.cs
- SqlAggregateChecker.cs
- DefaultEvaluationContext.cs
- StaticDataManager.cs
- TemplateBindingExtensionConverter.cs
- LineGeometry.cs
- BigInt.cs
- PTManager.cs
- Storyboard.cs
- Wizard.cs
- GridViewPageEventArgs.cs
- Win32Native.cs
- BreakRecordTable.cs
- Icon.cs
- DbCommandTree.cs
- DataTableClearEvent.cs
- RemotingServices.cs
- BordersPage.cs
- TTSVoice.cs
- XMLSchema.cs
- RtfControls.cs
- DataObjectEventArgs.cs
- LogReserveAndAppendState.cs
- Stackframe.cs
- HttpCapabilitiesEvaluator.cs
- activationcontext.cs
- SecureUICommand.cs
- DataGridViewAccessibleObject.cs
- ScrollEvent.cs
- Panel.cs
- FeatureSupport.cs
- HttpWebRequestElement.cs
- ProcessHostMapPath.cs
- TextServicesDisplayAttribute.cs
- InProcStateClientManager.cs
- FieldAccessException.cs
- TransformedBitmap.cs
- ToolStripCollectionEditor.cs
- InvalidDataContractException.cs
- CancelRequestedQuery.cs
- userdatakeys.cs
- DataGridViewColumnCollection.cs
- TrackingMemoryStream.cs
- DataGridViewHitTestInfo.cs
- SafeNativeMethods.cs
- TransactionChannelListener.cs
- EntityContainer.cs
- GridViewHeaderRowPresenterAutomationPeer.cs
- XXXOnTypeBuilderInstantiation.cs
- ScopelessEnumAttribute.cs
- GenericIdentity.cs
- RequestQueue.cs
- CustomAttribute.cs
- DataTableReader.cs
- Perspective.cs
- Selection.cs
- EntityCollection.cs
- precedingsibling.cs
- MdiWindowListItemConverter.cs
- FormViewRow.cs
- CodeLabeledStatement.cs
- XhtmlMobileTextWriter.cs
- NotifyParentPropertyAttribute.cs
- CardSpaceShim.cs
- AuthorizationRuleCollection.cs
- SqlNotificationRequest.cs
- HttpStreams.cs
- InternalControlCollection.cs
- GridEntryCollection.cs
- HashMembershipCondition.cs
- KeyTimeConverter.cs
- DummyDataSource.cs
- DataRowCollection.cs
- PerformanceCountersElement.cs
- PolyLineSegment.cs
- DeflateStreamAsyncResult.cs
- Recipient.cs
- DataServiceExpressionVisitor.cs
- DesignerActionList.cs
- HandlerFactoryWrapper.cs
- PathSegment.cs
- QilStrConcatenator.cs
- VirtualizingStackPanel.cs
- FunctionImportMapping.cs
- XmlSubtreeReader.cs
- MethodImplAttribute.cs
- TextComposition.cs
- ObjectQuery.cs
- ParameterElementCollection.cs