Share via


MediaField Members

Include Protected Members
Include Inherited Members

Represents the field type for media source and display settings.

The MediaField type exposes the following members.

Constructors

  Name Description
Public method MediaField(SPFieldCollection, String) Initializes a new instance of the MediaField class that is based on the specified field collection and field name.
Public method MediaField(SPFieldCollection, String, String) Initializes a new instance of the MediaField class based on the specified field collection, type name, and display name.

Top

Properties

  Name Description
Public property AggregationFunction (Inherited from SPField.)
Public property AllowDeletion (Inherited from SPField.)
Public property AllowHyperlink (Inherited from SPFieldMultiLineText.)
Public property AppendOnly (Inherited from SPFieldMultiLineText.)
Public property AuthoringInfo (Inherited from SPField.)
Public property CanBeDeleted (Inherited from SPField.)
Public property CanBeDisplayedInEditForm (Inherited from SPField.)
Public property CanToggleHidden (Inherited from SPField.)
Public property CompositeIndexable (Inherited from SPField.)
Public property DefaultFormula (Inherited from SPField.)
Public property DefaultListField (Inherited from SPField.)
Public property DefaultValue (Inherited from SPField.)
Public property DefaultValueTyped (Inherited from SPField.)
Public property Description (Inherited from SPField.)
Public property DescriptionResource (Inherited from SPField.)
Public property DifferencingLimit (Inherited from SPFieldMultiLineText.)
Public property Direction (Inherited from SPField.)
Public property DisplaySize (Inherited from SPField.)
Public property EnforceUniqueValues (Inherited from SPField.)
Public property FieldReferences (Inherited from SPField.)
Public property FieldRenderingControl Gets the field control that is used to render this field by default (MediaFieldControl). (Overrides SPFieldMultiLineText.FieldRenderingControl.)
Public property FieldRenderingMobileControl (Inherited from SPFieldMultiLineText.)
Public property FieldTypeDefinition (Inherited from SPField.)
Public property FieldValueType Gets the type of the field value for this field (MediaFieldValue). (Overrides SPFieldMultiLineText.FieldValueType.)
Public property Filterable (Inherited from SPFieldMultiLineText.)
Public property FilterableNoRecurrence (Inherited from SPField.)
Public property FromBaseType (Inherited from SPField.)
Public property Group (Inherited from SPField.)
Public property Hidden (Inherited from SPField.)
Public property Id (Inherited from SPField.)
Public property IMEMode (Inherited from SPField.)
Public property Indexable (Inherited from SPField.)
Public property Indexed (Inherited from SPField.)
Public property InternalName (Inherited from SPField.)
Public property IsolateStyles (Inherited from SPFieldMultiLineText.)
Public property JumpToField (Inherited from SPField.)
Public property LinkToItem (Inherited from SPField.)
Public property LinkToItemAllowed (Inherited from SPField.)
Public property ListItemMenu (Inherited from SPField.)
Public property ListItemMenuAllowed (Inherited from SPField.)
Public property NoCrawl (Inherited from SPField.)
Public property NumberOfLines (Inherited from SPFieldMultiLineText.)
Public property ParentList (Inherited from SPField.)
Public property PIAttribute (Inherited from SPField.)
Public property PITarget (Inherited from SPField.)
Public property PreviewValueSize (Inherited from SPFieldMultiLineText.)
Public property PreviewValueTyped (Inherited from SPFieldMultiLineText.)
Public property PrimaryPIAttribute (Inherited from SPField.)
Public property PrimaryPITarget (Inherited from SPField.)
Public property PushChangesToLists (Inherited from SPField.)
Public property ReadOnlyField (Inherited from SPField.)
Public property RelatedField (Inherited from SPField.)
Public property Reorderable (Inherited from SPField.)
Public property Required (Inherited from SPField.)
Public property RestrictedMode (Inherited from SPFieldMultiLineText.)
Public property RichText (Inherited from SPFieldMultiLineText.)
Public property RichTextMode (Inherited from SPFieldMultiLineText.)
Public property SchemaXml (Inherited from SPField.)
Public property SchemaXmlWithResourceTokens (Inherited from SPField.)
Public property Scope (Inherited from SPField.)
Public property Sealed (Inherited from SPField.)
Public property ShowInDisplayForm (Inherited from SPField.)
Public property ShowInEditForm (Inherited from SPField.)
Public property ShowInListSettings (Inherited from SPField.)
Public property ShowInNewForm (Inherited from SPField.)
Public property ShowInVersionHistory (Inherited from SPField.)
Public property ShowInViewForms (Inherited from SPField.)
Public property Sortable (Inherited from SPFieldMultiLineText.)
Public property SourceId (Inherited from SPField.)
Public property StaticName (Inherited from SPField.)
Public property Title (Inherited from SPField.)
Public property TitleResource (Inherited from SPField.)
Public property TranslationXml (Inherited from SPField.)
Public property Type (Inherited from SPField.)
Public property TypeAsString (Inherited from SPField.)
Public property TypeDisplayName (Inherited from SPField.)
Public property TypeShortDescription (Inherited from SPField.)
Public property UnlimitedLengthInDocumentLibrary (Inherited from SPFieldMultiLineText.)
Public property UsedInWebContentTypes (Inherited from SPField.)
Public property ValidationEcmaScript (Inherited from SPField.)
Public property ValidationFormula (Inherited from SPField.)
Public property ValidationMessage (Inherited from SPField.)
Public property Version (Inherited from SPField.)
Public property WikiLinking (Inherited from SPFieldMultiLineText.)
Public property XPath (Inherited from SPField.)

Top

Methods

  Name Description
Public method Delete (Inherited from SPField.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetCustomProperty (Inherited from SPField.)
Public method GetFieldValue Converts the specified value into a MediaFieldValue object. (Overrides SPField.GetFieldValue(String).)
Public method GetFieldValueAsHtml(Object) Returns the field value as HTML. (Overrides SPFieldMultiLineText.GetFieldValueAsHtml(Object).)
Public method GetFieldValueAsHtml(Object, SPListItem) (Inherited from SPFieldMultiLineText.)
Public method GetFieldValueAsText Returns the field value as plain text. (Overrides SPFieldMultiLineText.GetFieldValueAsText(Object).)
Public method GetFieldValueForEdit (Inherited from SPFieldMultiLineText.)
Public method GetHashCode (Inherited from Object.)
Public method GetProperty (Inherited from SPField.)
Public method GetType (Inherited from Object.)
Public method GetValidatedString (Inherited from SPFieldMultiLineText.)
Protected method HasValue (Inherited from SPField.)
Public method ListsFieldUsedIn (Inherited from SPField.)
Protected method MemberwiseClone (Inherited from Object.)
Public method OnAdded (Inherited from SPField.)
Public method OnAddingToContentType (Inherited from SPField.)
Public method OnDeleting (Inherited from SPField.)
Public method OnDeletingFromContentType (Inherited from SPField.)
Protected method OnInitFieldNode (Inherited from SPField.)
Public method OnUpdated (Inherited from SPField.)
Public method ParseAndSetValue (Inherited from SPField.)
Public method ProcessWikiLinks (Inherited from SPFieldMultiLineText.)
Public method SetCustomProperty (Inherited from SPField.)
Protected method SetRichTextMode (Inherited from SPFieldMultiLineText.)
Public method ToString (Inherited from SPField.)
Public method Update() (Inherited from SPField.)
Public method Update(Boolean) (Inherited from SPField.)

Top

See Also

Reference

MediaField Class

Microsoft.SharePoint.Publishing.Fields Namespace