Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / xsp / System / Web / UI / ValidationPropertyAttribute.cs / 1 / ValidationPropertyAttribute.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
/*
*/
namespace System.Web.UI {
using System.Runtime.InteropServices;
using System.ComponentModel;
using System.Security.Permissions;
///
/// Identifies the validation property for a component.
///
[AttributeUsage(AttributeTargets.Class)]
[AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)]
public sealed class ValidationPropertyAttribute : Attribute {
///
/// This is the validation event name.
///
private readonly string name;
///
/// Initializes a new instance of the class.
///
public ValidationPropertyAttribute(string name) {
this.name = name;
}
///
/// Indicates the name the specified validation attribute. This property is
/// read-only.
///
public string Name {
get {
return name;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
/*
*/
namespace System.Web.UI {
using System.Runtime.InteropServices;
using System.ComponentModel;
using System.Security.Permissions;
///
/// Identifies the validation property for a component.
///
[AttributeUsage(AttributeTargets.Class)]
[AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)]
public sealed class ValidationPropertyAttribute : Attribute {
///
/// This is the validation event name.
///
private readonly string name;
///
/// Initializes a new instance of the class.
///
public ValidationPropertyAttribute(string name) {
this.name = name;
}
///
/// Indicates the name the specified validation attribute. This property is
/// read-only.
///
public string Name {
get {
return name;
}
}
}
}
// 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
- RuntimeConfig.cs
- Inline.cs
- InstanceLockedException.cs
- RSAPKCS1SignatureDeformatter.cs
- log.cs
- querybuilder.cs
- GlyphShapingProperties.cs
- VisualStyleRenderer.cs
- QilInvokeLateBound.cs
- SqlExpander.cs
- Parser.cs
- DecimalStorage.cs
- PropertyGroupDescription.cs
- ThreadStateException.cs
- FontNamesConverter.cs
- IdleTimeoutMonitor.cs
- AVElementHelper.cs
- RadialGradientBrush.cs
- OleDbFactory.cs
- ExecutionContext.cs
- DataObjectCopyingEventArgs.cs
- StorageAssociationSetMapping.cs
- GroupBoxRenderer.cs
- XmlReaderSettings.cs
- SqlCrossApplyToCrossJoin.cs
- MaskedTextProvider.cs
- Vertex.cs
- XmlSchemaSimpleTypeUnion.cs
- GridItemPattern.cs
- CompatibleComparer.cs
- LifetimeServices.cs
- VisualStyleTypesAndProperties.cs
- PathFigure.cs
- StorageInfo.cs
- RectangleF.cs
- XmlParser.cs
- SiteMapProvider.cs
- MethodBody.cs
- MetadataFile.cs
- HashAlgorithm.cs
- ConfigurationSectionHelper.cs
- FlowLayoutSettings.cs
- RadioButtonPopupAdapter.cs
- SafeNativeMethods.cs
- TransformerInfoCollection.cs
- CapabilitiesSection.cs
- MemberAccessException.cs
- TimeZone.cs
- KnownBoxes.cs
- AncestorChangedEventArgs.cs
- LongValidatorAttribute.cs
- DispatcherSynchronizationContext.cs
- RequestStatusBarUpdateEventArgs.cs
- ModulesEntry.cs
- EventHandlersStore.cs
- AggregateException.cs
- InvalidContentTypeException.cs
- ToolStripRendererSwitcher.cs
- DeviceSpecificChoiceCollection.cs
- TextView.cs
- ScriptServiceAttribute.cs
- AuthenticatedStream.cs
- HwndPanningFeedback.cs
- DrawingCollection.cs
- IntSecurity.cs
- ToolStripDropDown.cs
- MonthCalendar.cs
- LocalBuilder.cs
- SystemWebCachingSectionGroup.cs
- TempFiles.cs
- CodeGeneratorOptions.cs
- OutputWindow.cs
- DefaultTypeArgumentAttribute.cs
- RepeatButton.cs
- SQLDateTime.cs
- LinqDataView.cs
- ModelVisual3D.cs
- AnnotationStore.cs
- WebPartsSection.cs
- ObjectItemAssemblyLoader.cs
- XmlSerializationGeneratedCode.cs
- CompareInfo.cs
- EnumerableWrapperWeakToStrong.cs
- WorkflowServiceAttributesTypeConverter.cs
- fixedPageContentExtractor.cs
- RowUpdatingEventArgs.cs
- UnsignedPublishLicense.cs
- XmlBinaryReader.cs
- CompiledELinqQueryState.cs
- StreamUpgradeInitiator.cs
- ObjectStateEntryDbDataRecord.cs
- CreateSequence.cs
- DataServiceBuildProvider.cs
- ExceptionUtility.cs
- recordstatefactory.cs
- HierarchicalDataBoundControlAdapter.cs
- shaperfactory.cs
- ListSortDescriptionCollection.cs
- DataGridLength.cs
- EFDataModelProvider.cs