Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataWeb / Client / System / Data / Services / Client / MediaEntryAttribute.cs / 1305376 / MediaEntryAttribute.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // //// Attribute to denote entity types describing a media entry // //--------------------------------------------------------------------- namespace System.Data.Services.Client { using System; ////// This class marks a type that represents an Astoria client entity /// such that the Astoria client will treat it as a media entry /// according to ATOM's "media link entry" concept. /// [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)] public sealed class MediaEntryAttribute : Attribute { ///Name of the member that contains the data for the media entry private readonly string mediaMemberName; ////// Creates a new MediaEntryAttribute attribute and sets the name /// of the member that contains the actual data of the media entry /// (e.g. a byte[] containing a picture, a string containing HTML, etc.) /// /// Name of the member that contains the data for the media entry public MediaEntryAttribute(string mediaMemberName) { Util.CheckArgumentNull(mediaMemberName, "mediaMemberName"); this.mediaMemberName = mediaMemberName; } ///Name of the member that contains the data for the media entry public string MediaMemberName { get { return this.mediaMemberName; } } } } // 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
- OraclePermission.cs
- SynchronizationScope.cs
- SystemUdpStatistics.cs
- DataStreamFromComStream.cs
- ZipFileInfoCollection.cs
- LinqDataSource.cs
- SpeechRecognitionEngine.cs
- XmlCharCheckingReader.cs
- FixedSOMImage.cs
- TypeDelegator.cs
- KeySpline.cs
- ColumnClickEvent.cs
- SafeLibraryHandle.cs
- SqlMethodAttribute.cs
- EllipseGeometry.cs
- NullableConverter.cs
- DataServiceEntityAttribute.cs
- FieldInfo.cs
- RenderTargetBitmap.cs
- ObjectReaderCompiler.cs
- RuntimeConfigLKG.cs
- StaticContext.cs
- SoapSchemaMember.cs
- RegexRunner.cs
- CssTextWriter.cs
- SingleObjectCollection.cs
- Stream.cs
- RTLAwareMessageBox.cs
- UnsafeNativeMethods.cs
- ByteStorage.cs
- OdbcConnection.cs
- AutoScrollHelper.cs
- RemoteCryptoTokenProvider.cs
- DesignerLoader.cs
- ExtendedPropertyInfo.cs
- TreeView.cs
- CfgParser.cs
- DataListGeneralPage.cs
- OperationFormatter.cs
- SoapTypeAttribute.cs
- LowerCaseStringConverter.cs
- XmlSchemaInferenceException.cs
- SafeCloseHandleCritical.cs
- X509CertificateValidator.cs
- SessionEndingCancelEventArgs.cs
- SectionRecord.cs
- SqlDataSourceFilteringEventArgs.cs
- Shape.cs
- ObjectDataSourceDisposingEventArgs.cs
- AssertUtility.cs
- StoragePropertyMapping.cs
- Renderer.cs
- Lease.cs
- Triangle.cs
- GridViewItemAutomationPeer.cs
- AbsoluteQuery.cs
- XPathNavigator.cs
- CollectionConverter.cs
- MergePropertyDescriptor.cs
- ValidationHelpers.cs
- TimeManager.cs
- TraceHandlerErrorFormatter.cs
- AttributeProviderAttribute.cs
- OdbcError.cs
- XmlSchemaElement.cs
- SchemaTableOptionalColumn.cs
- Ipv6Element.cs
- ProjectionPlanCompiler.cs
- InkCanvasAutomationPeer.cs
- FileLogRecord.cs
- OledbConnectionStringbuilder.cs
- DataSourceCacheDurationConverter.cs
- NetTcpBinding.cs
- ToolStripTextBox.cs
- PenContext.cs
- DataViewListener.cs
- TcpHostedTransportConfiguration.cs
- MappingItemCollection.cs
- ObjectQuery_EntitySqlExtensions.cs
- ReflectTypeDescriptionProvider.cs
- SlotInfo.cs
- CodeDOMUtility.cs
- ParallelRangeManager.cs
- CopyAttributesAction.cs
- DataException.cs
- WindowShowOrOpenTracker.cs
- JoinElimination.cs
- TypeUnloadedException.cs
- ImmutableObjectAttribute.cs
- ParagraphVisual.cs
- ExtenderProvidedPropertyAttribute.cs
- XsltOutput.cs
- MasterPageCodeDomTreeGenerator.cs
- KeyEvent.cs
- PointAnimationUsingKeyFrames.cs
- XmlNamespaceMapping.cs
- ChildDocumentBlock.cs
- PropertyEntry.cs
- ToolStripLocationCancelEventArgs.cs
- SaveFileDialog.cs