Share via


MediaEntryAttribute(String) Constructor

Definition

Creates a new instance of MediaEntryAttribute.

public MediaEntryAttribute (string mediaMemberName);
new Microsoft.OData.Client.MediaEntryAttribute : string -> Microsoft.OData.Client.MediaEntryAttribute
Public Sub New (mediaMemberName As String)

Parameters

mediaMemberName
String

A string value that identifies the property that holds media data.

Remarks

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.)

Applies to