Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / CompMod / System / ComponentModel / ListSortDescription.cs / 1 / ListSortDescription.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.ComponentModel {
using System.Collections;
using System.Security.Permissions;
///
/// [To be supplied.]
///
[HostProtection(SharedState = true)]
public class ListSortDescription {
PropertyDescriptor property;
ListSortDirection sortDirection;
///
/// [To be supplied.]
///
public ListSortDescription(PropertyDescriptor property, ListSortDirection direction) {
this.property = property;
this.sortDirection = direction;
}
///
/// [To be supplied.]
///
public PropertyDescriptor PropertyDescriptor {
get {
return this.property;
}
set {
this.property = value;
}
}
///
/// [To be supplied.]
///
public ListSortDirection SortDirection {
get {
return this.sortDirection;
}
set {
this.sortDirection = value;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.ComponentModel {
using System.Collections;
using System.Security.Permissions;
///
/// [To be supplied.]
///
[HostProtection(SharedState = true)]
public class ListSortDescription {
PropertyDescriptor property;
ListSortDirection sortDirection;
///
/// [To be supplied.]
///
public ListSortDescription(PropertyDescriptor property, ListSortDirection direction) {
this.property = property;
this.sortDirection = direction;
}
///
/// [To be supplied.]
///
public PropertyDescriptor PropertyDescriptor {
get {
return this.property;
}
set {
this.property = value;
}
}
///
/// [To be supplied.]
///
public ListSortDirection SortDirection {
get {
return this.sortDirection;
}
set {
this.sortDirection = 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
- CodeIndexerExpression.cs
- DefaultHttpHandler.cs
- FilterException.cs
- StrokeCollectionConverter.cs
- ACE.cs
- XmlDomTextWriter.cs
- XmlTypeMapping.cs
- DateTimeOffsetConverter.cs
- ToolTip.cs
- FieldAccessException.cs
- XmlQueryOutput.cs
- DataPagerFieldCollection.cs
- SQLDoubleStorage.cs
- COM2EnumConverter.cs
- DiagnosticsElement.cs
- Point.cs
- AccessDataSource.cs
- NTAccount.cs
- ViewSimplifier.cs
- FixedPosition.cs
- CreateUserErrorEventArgs.cs
- CodeArrayIndexerExpression.cs
- ObjectMemberMapping.cs
- ResourcePermissionBase.cs
- WorkflowApplicationUnhandledExceptionEventArgs.cs
- PropertyInformationCollection.cs
- ToolStripManager.cs
- Dynamic.cs
- pingexception.cs
- Predicate.cs
- ConsoleKeyInfo.cs
- HttpResponseHeader.cs
- _ProxyChain.cs
- RawTextInputReport.cs
- ProcessHostMapPath.cs
- WindowsHyperlink.cs
- InstanceData.cs
- QueryPageSettingsEventArgs.cs
- WindowsTreeView.cs
- ManagementExtension.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- BindingExpression.cs
- AdornerHitTestResult.cs
- CollectionView.cs
- PublishLicense.cs
- XPathScanner.cs
- MethodCallTranslator.cs
- CodeTypeDelegate.cs
- Vector.cs
- TypeNameConverter.cs
- BindableTemplateBuilder.cs
- ProfileBuildProvider.cs
- FormatStringEditor.cs
- TextServicesDisplayAttributePropertyRanges.cs
- ConditionCollection.cs
- ValueCollectionParameterReader.cs
- TemplateBindingExtension.cs
- XmlCharCheckingWriter.cs
- WhitespaceRuleReader.cs
- CultureSpecificStringDictionary.cs
- PromptStyle.cs
- HandlerBase.cs
- GeneralTransform3D.cs
- SiteMapNodeItemEventArgs.cs
- ConditionCollection.cs
- HtmlInputCheckBox.cs
- BooleanExpr.cs
- ConnectionStringsExpressionBuilder.cs
- SessionStateUtil.cs
- Point3DAnimationUsingKeyFrames.cs
- XmlSchemaExporter.cs
- DataFormats.cs
- LocalizeDesigner.cs
- WebEventTraceProvider.cs
- WindowsServiceCredential.cs
- MailMessageEventArgs.cs
- VisualCollection.cs
- ToolBar.cs
- HtmlElement.cs
- DrawingImage.cs
- OutputWindow.cs
- CodeAttachEventStatement.cs
- SafeIUnknown.cs
- base64Transforms.cs
- MediaSystem.cs
- PageCodeDomTreeGenerator.cs
- DateTimeEditor.cs
- _Connection.cs
- ListControlBuilder.cs
- AssemblySettingAttributes.cs
- GeometryValueSerializer.cs
- DataSysAttribute.cs
- ConcatQueryOperator.cs
- DbgUtil.cs
- WindowsListViewSubItem.cs
- BindingExpression.cs
- RootBuilder.cs
- HtmlImage.cs
- PointLightBase.cs
- LayoutExceptionEventArgs.cs