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
- QuotedStringWriteStateInfo.cs
- ConnectionManagementSection.cs
- SerializationTrace.cs
- ISSmlParser.cs
- PolicyVersion.cs
- XmlTextEncoder.cs
- TextServicesManager.cs
- Wizard.cs
- Registry.cs
- TraceListener.cs
- X509ChainElement.cs
- PriorityItem.cs
- DataTableReaderListener.cs
- OlePropertyStructs.cs
- Timeline.cs
- OverlappedAsyncResult.cs
- UserValidatedEventArgs.cs
- RectAnimationClockResource.cs
- MailWebEventProvider.cs
- InstallerTypeAttribute.cs
- OperationContext.cs
- OleDbWrapper.cs
- AbsoluteQuery.cs
- PersonalizationAdministration.cs
- HttpModuleCollection.cs
- ComplexObject.cs
- SizeAnimationUsingKeyFrames.cs
- _HelperAsyncResults.cs
- SecurityElement.cs
- LinearQuaternionKeyFrame.cs
- SymLanguageType.cs
- Win32PrintDialog.cs
- LayoutDump.cs
- DataRecordObjectView.cs
- ImplicitInputBrush.cs
- PathFigureCollection.cs
- EventData.cs
- ErrorHandlingReceiver.cs
- WebScriptMetadataMessage.cs
- ValidationPropertyAttribute.cs
- Root.cs
- VirtualizingStackPanel.cs
- IDReferencePropertyAttribute.cs
- NativeMethods.cs
- ExpressionBuilder.cs
- CheckedListBox.cs
- Region.cs
- HttpListenerTimeoutManager.cs
- HMACSHA512.cs
- SmtpDigestAuthenticationModule.cs
- FileLoadException.cs
- StateRuntime.cs
- TableLayoutColumnStyleCollection.cs
- NativeObjectSecurity.cs
- MetadataHelper.cs
- GregorianCalendar.cs
- ChangeProcessor.cs
- CodeSnippetStatement.cs
- WebServiceTypeData.cs
- FrameworkElementFactoryMarkupObject.cs
- HtmlSelect.cs
- StartUpEventArgs.cs
- ToolBarButton.cs
- StaticExtension.cs
- QueryableDataSourceEditData.cs
- RelatedImageListAttribute.cs
- OdbcConnectionHandle.cs
- ResponseStream.cs
- RectangleGeometry.cs
- CookieProtection.cs
- ScriptReferenceBase.cs
- Soap12FormatExtensions.cs
- Int16AnimationBase.cs
- IsolatedStorageFilePermission.cs
- DbMetaDataCollectionNames.cs
- VerificationAttribute.cs
- MessagePropertyFilter.cs
- UrlMapping.cs
- SystemIPv6InterfaceProperties.cs
- SqlProcedureAttribute.cs
- StringReader.cs
- MatrixCamera.cs
- TextSelectionHelper.cs
- ValidateNames.cs
- SimpleType.cs
- PageAsyncTask.cs
- OpenFileDialog.cs
- StrongName.cs
- SafeEventLogReadHandle.cs
- FixUpCollection.cs
- GeneratedCodeAttribute.cs
- ContentIterators.cs
- XmlSchemaAttributeGroupRef.cs
- TypedElement.cs
- ExtenderProviderService.cs
- FileInfo.cs
- keycontainerpermission.cs
- ButtonBaseAdapter.cs
- SqlClientWrapperSmiStreamChars.cs
- UnmanagedMarshal.cs