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 / SoapAttributeAttribute.cs / 1 / SoapAttributeAttribute.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// [....]
//-----------------------------------------------------------------------------
namespace System.Xml.Serialization {
using System;
///
///
/// [To be supplied.]
///
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue)]
public class SoapAttributeAttribute : System.Attribute {
string attributeName;
string ns;
string dataType;
///
///
/// [To be supplied.]
///
public SoapAttributeAttribute() {
}
///
///
/// [To be supplied.]
///
public SoapAttributeAttribute(string attributeName) {
this.attributeName = attributeName;
}
///
///
/// [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; }
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// [....]
//-----------------------------------------------------------------------------
namespace System.Xml.Serialization {
using System;
///
///
/// [To be supplied.]
///
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue)]
public class SoapAttributeAttribute : System.Attribute {
string attributeName;
string ns;
string dataType;
///
///
/// [To be supplied.]
///
public SoapAttributeAttribute() {
}
///
///
/// [To be supplied.]
///
public SoapAttributeAttribute(string attributeName) {
this.attributeName = attributeName;
}
///
///
/// [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; }
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ColorContextHelper.cs
- ListViewAutomationPeer.cs
- SubordinateTransaction.cs
- TextElement.cs
- CqlErrorHelper.cs
- basevalidator.cs
- SelectedCellsChangedEventArgs.cs
- ListDesigner.cs
- OleDbDataAdapter.cs
- ProviderCollection.cs
- FtpRequestCacheValidator.cs
- ParserHooks.cs
- Stroke.cs
- RemoteCryptoSignHashRequest.cs
- GlyphManager.cs
- ServiceDescriptionImporter.cs
- SplashScreenNativeMethods.cs
- Light.cs
- SafeNativeMethodsOther.cs
- WebPartDisplayModeCancelEventArgs.cs
- VisualStyleInformation.cs
- ParameterBuilder.cs
- MaskedTextProvider.cs
- SrgsOneOf.cs
- PagedDataSource.cs
- WorkflowOwnershipException.cs
- shaperfactory.cs
- SQLSingle.cs
- MarkupExtensionParser.cs
- KeyGestureConverter.cs
- SessionEndingEventArgs.cs
- _NegoState.cs
- HttpException.cs
- ContentElement.cs
- XmlChildEnumerator.cs
- TextBoxAutomationPeer.cs
- ObjectView.cs
- TypeExtensionSerializer.cs
- SmtpCommands.cs
- SoundPlayer.cs
- FormatConvertedBitmap.cs
- ZipIOModeEnforcingStream.cs
- ComEventsHelper.cs
- RequiredAttributeAttribute.cs
- ExpressionBuilder.cs
- SurrogateDataContract.cs
- GACIdentityPermission.cs
- AdapterSwitches.cs
- RequestCachePolicyConverter.cs
- DynamicValidator.cs
- PermissionToken.cs
- DataConnectionHelper.cs
- ProfileSettings.cs
- SafeEventLogWriteHandle.cs
- ExtendedProtectionPolicyTypeConverter.cs
- TabPage.cs
- SmiRecordBuffer.cs
- TextProperties.cs
- TreeChangeInfo.cs
- TemplateParser.cs
- TypedElement.cs
- ExpressionContext.cs
- CollectionViewGroupRoot.cs
- BindingManagerDataErrorEventArgs.cs
- DocumentReference.cs
- AutomationElementCollection.cs
- InvalidFilterCriteriaException.cs
- AudioFormatConverter.cs
- RefreshEventArgs.cs
- Setter.cs
- WS2007FederationHttpBindingCollectionElement.cs
- TemplatedControlDesigner.cs
- RegexMatchCollection.cs
- LicenseException.cs
- Single.cs
- Matrix3DConverter.cs
- WebPartEventArgs.cs
- PropertyMapper.cs
- ResXDataNode.cs
- Pair.cs
- XmlTypeAttribute.cs
- StylusPlugInCollection.cs
- LoginCancelEventArgs.cs
- AxHostDesigner.cs
- CachedFontFamily.cs
- SecurityTokenParametersEnumerable.cs
- ProjectedWrapper.cs
- ObjectListCommandsPage.cs
- XmlSchemaAttributeGroup.cs
- MostlySingletonList.cs
- VisualTreeUtils.cs
- XmlSchemaAnnotation.cs
- EventTrigger.cs
- ProfessionalColorTable.cs
- MetabaseReader.cs
- _LocalDataStoreMgr.cs
- MatrixValueSerializer.cs
- EntityKey.cs
- FormsAuthenticationModule.cs
- VerificationAttribute.cs