Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / 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;
///
///
/// [To be supplied.]
///
[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.
// Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SafeUserTokenHandle.cs
- FixedLineResult.cs
- WorkflowCompensationBehavior.cs
- COAUTHINFO.cs
- Accessible.cs
- MD5CryptoServiceProvider.cs
- Partitioner.cs
- SqlParameterCollection.cs
- XmlQualifiedNameTest.cs
- DefaultAsyncDataDispatcher.cs
- Parser.cs
- SqlTopReducer.cs
- HttpResponseHeader.cs
- TriggerBase.cs
- WebServiceEnumData.cs
- Point3DAnimation.cs
- HtmlInputFile.cs
- Utils.cs
- ITreeGenerator.cs
- QilInvoke.cs
- PingOptions.cs
- ProcessHostFactoryHelper.cs
- TemplateField.cs
- GridView.cs
- MatrixTransform3D.cs
- HttpTransportSecurityElement.cs
- LinkedResourceCollection.cs
- WmlLinkAdapter.cs
- Literal.cs
- FtpCachePolicyElement.cs
- ContainerUtilities.cs
- Trace.cs
- SamlConstants.cs
- RelatedCurrencyManager.cs
- SecurityElement.cs
- OdbcFactory.cs
- HttpDictionary.cs
- TcpChannelHelper.cs
- CanExecuteRoutedEventArgs.cs
- TraceHandlerErrorFormatter.cs
- ExpressionValueEditor.cs
- ShaderRenderModeValidation.cs
- ListViewEditEventArgs.cs
- Mutex.cs
- DocumentXPathNavigator.cs
- DataGridColumnsPage.cs
- BufferAllocator.cs
- QueryStringHandler.cs
- ApplicationException.cs
- MemoryMappedView.cs
- TransformDescriptor.cs
- BinaryConverter.cs
- SiteMapNodeItem.cs
- CheckBoxStandardAdapter.cs
- AuthorizationRule.cs
- IsolatedStoragePermission.cs
- HtmlInputPassword.cs
- EmptyReadOnlyDictionaryInternal.cs
- autovalidator.cs
- ContentHostHelper.cs
- CapiSafeHandles.cs
- CustomLineCap.cs
- WebPartConnectionsConfigureVerb.cs
- ReceiveMessageAndVerifySecurityAsyncResultBase.cs
- WebPartConnectionsConnectVerb.cs
- PriorityBindingExpression.cs
- ClientConvert.cs
- StringComparer.cs
- DelimitedListTraceListener.cs
- AssemblyAssociatedContentFileAttribute.cs
- WebZone.cs
- StringBuilder.cs
- Substitution.cs
- DependencyObject.cs
- SubqueryRules.cs
- BuildProviderCollection.cs
- FreeIndexList.cs
- StrongNameIdentityPermission.cs
- BamlMapTable.cs
- Decoder.cs
- OdbcStatementHandle.cs
- HTMLTagNameToTypeMapper.cs
- DrawingContext.cs
- TabControlAutomationPeer.cs
- WebZone.cs
- ConstrainedDataObject.cs
- HitTestParameters.cs
- FakeModelPropertyImpl.cs
- TypeLoadException.cs
- TextureBrush.cs
- UiaCoreProviderApi.cs
- IdentityHolder.cs
- QueueAccessMode.cs
- _SafeNetHandles.cs
- TreeViewEvent.cs
- DataControlFieldHeaderCell.cs
- MorphHelpers.cs
- QueueAccessMode.cs
- MenuTracker.cs
- KeyValuePair.cs