Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- ProfilePropertySettings.cs
- AnonymousIdentificationSection.cs
- sqlinternaltransaction.cs
- WebBrowserContainer.cs
- ErrorTableItemStyle.cs
- PropertyPath.cs
- DockAndAnchorLayout.cs
- DocumentPageViewAutomationPeer.cs
- ColumnMapCopier.cs
- HtmlWindow.cs
- SerialStream.cs
- XsdDuration.cs
- DataGridViewImageColumn.cs
- PolygonHotSpot.cs
- WebPartConnectionCollection.cs
- UrlRoutingHandler.cs
- StructuredType.cs
- SqlUtil.cs
- CodeNamespaceCollection.cs
- WebPartRestoreVerb.cs
- AppDomainProtocolHandler.cs
- DataGridDesigner.cs
- InfocardClientCredentials.cs
- ErrorHandlerFaultInfo.cs
- Rect3D.cs
- SiteMapDataSource.cs
- Queue.cs
- TagPrefixAttribute.cs
- MouseActionValueSerializer.cs
- Mutex.cs
- XmlTextWriter.cs
- SettingsProviderCollection.cs
- WebBrowserPermission.cs
- ArgumentFixer.cs
- WebConfigurationHostFileChange.cs
- TreeViewItem.cs
- SessionStateModule.cs
- InfiniteTimeSpanConverter.cs
- NumericExpr.cs
- WebUtil.cs
- FileDialog_Vista_Interop.cs
- PrimitiveXmlSerializers.cs
- PropertyValueUIItem.cs
- UnsafeNativeMethods.cs
- DetailsViewRowCollection.cs
- ToolBarButtonClickEvent.cs
- DataGridViewDesigner.cs
- ConversionHelper.cs
- QueryInterceptorAttribute.cs
- PathGeometry.cs
- AuthenticationModuleElementCollection.cs
- Operators.cs
- SignatureDescription.cs
- CmsUtils.cs
- TreeWalkHelper.cs
- WSSecurityTokenSerializer.cs
- XmlArrayItemAttribute.cs
- __Error.cs
- XPathBinder.cs
- TableParagraph.cs
- XmlIlGenerator.cs
- Keyboard.cs
- hebrewshape.cs
- DataRelationPropertyDescriptor.cs
- CommandHelpers.cs
- AppSecurityManager.cs
- SqlAliaser.cs
- OdbcConnection.cs
- ListViewPagedDataSource.cs
- Stream.cs
- DoubleLinkListEnumerator.cs
- Clipboard.cs
- CellRelation.cs
- QueryOptionExpression.cs
- DataBoundControl.cs
- SmtpTransport.cs
- ServiceMoniker.cs
- ProcessManager.cs
- DocumentCollection.cs
- HotSpotCollection.cs
- ObjectToModelValueConverter.cs
- ValidatorCompatibilityHelper.cs
- ShaperBuffers.cs
- HtmlInputText.cs
- ExtentCqlBlock.cs
- TextViewSelectionProcessor.cs
- PlatformNotSupportedException.cs
- TemplateKeyConverter.cs
- ImageSourceConverter.cs
- ObjectDataSourceMethodEditor.cs
- XmlSchemaImporter.cs
- CodeStatement.cs
- ButtonFieldBase.cs
- CodeExpressionStatement.cs
- ObjectCloneHelper.cs
- ThreadStartException.cs
- PinnedBufferMemoryStream.cs
- RolePrincipal.cs
- LocalValueEnumerator.cs
- SchemaDeclBase.cs