Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / xsp / System / Web / UI / WebControls / SiteMapNodeItem.cs / 1 / SiteMapNodeItem.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls { using System; using System.ComponentModel; using System.Security.Permissions; using System.Web.UI; ////// [ ToolboxItem(false) ] [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class SiteMapNodeItem : WebControl, INamingContainer, IDataItemContainer { private int _itemIndex; private SiteMapNodeItemType _itemType; private SiteMapNode _siteMapNode; ///Represents a ////// public SiteMapNodeItem(int itemIndex, SiteMapNodeItemType itemType) { this._itemIndex = itemIndex; this._itemType = itemType; } ///Initializes a new instance of the ///class. /// public virtual SiteMapNode SiteMapNode { get { return _siteMapNode; } set { _siteMapNode = value; } } ///Represents a sitemapnode. ////// public virtual int ItemIndex { get { return _itemIndex; } } ///Indicates the index of the item. This property is read-only. ////// public virtual SiteMapNodeItemType ItemType { get { return _itemType; } } ///Indicates the type of the item in the ///. /// /// protected internal virtual void SetItemType(SiteMapNodeItemType itemType) { this._itemType = itemType; } ///object IDataItemContainer.DataItem { get { return SiteMapNode; } } int IDataItemContainer.DataItemIndex { get { return ItemIndex; } } int IDataItemContainer.DisplayIndex { get { return ItemIndex; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ // // Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls { using System; using System.ComponentModel; using System.Security.Permissions; using System.Web.UI; ////// [ ToolboxItem(false) ] [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class SiteMapNodeItem : WebControl, INamingContainer, IDataItemContainer { private int _itemIndex; private SiteMapNodeItemType _itemType; private SiteMapNode _siteMapNode; ///Represents a ////// public SiteMapNodeItem(int itemIndex, SiteMapNodeItemType itemType) { this._itemIndex = itemIndex; this._itemType = itemType; } ///Initializes a new instance of the ///class. /// public virtual SiteMapNode SiteMapNode { get { return _siteMapNode; } set { _siteMapNode = value; } } ///Represents a sitemapnode. ////// public virtual int ItemIndex { get { return _itemIndex; } } ///Indicates the index of the item. This property is read-only. ////// public virtual SiteMapNodeItemType ItemType { get { return _itemType; } } ///Indicates the type of the item in the ///. /// /// protected internal virtual void SetItemType(SiteMapNodeItemType itemType) { this._itemType = itemType; } ///object IDataItemContainer.DataItem { get { return SiteMapNode; } } int IDataItemContainer.DataItemIndex { get { return ItemIndex; } } int IDataItemContainer.DisplayIndex { get { return ItemIndex; } } } } // 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
- BinaryFormatterWriter.cs
- MessageDecoder.cs
- State.cs
- TypeExtensionConverter.cs
- ValidatorCompatibilityHelper.cs
- ElementAction.cs
- C14NUtil.cs
- LambdaCompiler.Generated.cs
- Keyboard.cs
- UpdateCommand.cs
- ReaderWriterLockWrapper.cs
- ActiveXSerializer.cs
- GridViewEditEventArgs.cs
- DbgUtil.cs
- HtmlTitle.cs
- AccessControlEntry.cs
- JoinTreeSlot.cs
- StringInfo.cs
- TrackingStringDictionary.cs
- xml.cs
- RadioButtonPopupAdapter.cs
- UnsupportedPolicyOptionsException.cs
- Base64Decoder.cs
- ConfigErrorGlyph.cs
- MetadataArtifactLoader.cs
- SortExpressionBuilder.cs
- WebReferencesBuildProvider.cs
- SqlAggregateChecker.cs
- DataGridViewLinkColumn.cs
- ConnectionManagementElementCollection.cs
- PenThreadWorker.cs
- ArgumentException.cs
- Resources.Designer.cs
- MonikerSyntaxException.cs
- ErrorProvider.cs
- Panel.cs
- ResolveNameEventArgs.cs
- TickBar.cs
- ClosableStream.cs
- Mappings.cs
- SoapObjectWriter.cs
- PermissionSet.cs
- HttpHandlerActionCollection.cs
- TransformedBitmap.cs
- EncoderBestFitFallback.cs
- SkinBuilder.cs
- StringArrayConverter.cs
- FixedSOMGroup.cs
- CurrentTimeZone.cs
- DocumentationServerProtocol.cs
- BuildProviderUtils.cs
- DrawingCollection.cs
- CopyOnWriteList.cs
- XmlCDATASection.cs
- JsonReaderWriterFactory.cs
- ThaiBuddhistCalendar.cs
- SafeNativeMethods.cs
- WebPartChrome.cs
- EventLogger.cs
- _MultipleConnectAsync.cs
- WebPartCatalogAddVerb.cs
- CultureSpecificStringDictionary.cs
- DeviceOverridableAttribute.cs
- HttpListenerContext.cs
- DummyDataSource.cs
- CustomErrorsSection.cs
- ClientScriptManagerWrapper.cs
- Processor.cs
- DataServiceCollectionOfT.cs
- GeneralTransform3DGroup.cs
- DataTableNameHandler.cs
- DataSetMappper.cs
- ResourcesGenerator.cs
- WmlSelectionListAdapter.cs
- StaticExtension.cs
- RotateTransform3D.cs
- Variable.cs
- DSASignatureFormatter.cs
- StrokeSerializer.cs
- WebServiceTypeData.cs
- ToolStripGrip.cs
- webeventbuffer.cs
- ReadOnlyActivityGlyph.cs
- GridViewCellAutomationPeer.cs
- SafeRegistryKey.cs
- Emitter.cs
- ReadOnlyAttribute.cs
- WebScriptEndpointElement.cs
- NetworkInterface.cs
- BufferedGraphics.cs
- RoleService.cs
- TraceFilter.cs
- Clause.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- Operator.cs
- Asn1IntegerConverter.cs
- DeobfuscatingStream.cs
- DrawingCollection.cs
- FolderLevelBuildProviderAppliesToAttribute.cs
- DefaultValueMapping.cs