共用方式為


ImageWebPart.AlternativeText Property

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<WebPartStorageAttribute(Storage.Shared)> _
<ResourcesAttribute("AlternativeTextLiteral", "Advanced", "AlternativeText")> _
Public Property AlternativeText As String
    Get
    Set
'Usage
Dim instance As ImageWebPart
Dim value As String

value = instance.AlternativeText

instance.AlternativeText = value
[WebPartStorageAttribute(Storage.Shared)]
[ResourcesAttribute("AlternativeTextLiteral", "Advanced", "AlternativeText")]
public string AlternativeText { get; set; }

Property Value

Type: System.String

See Also

Reference

ImageWebPart Class

ImageWebPart Members

Microsoft.SharePoint.WebPartPages Namespace