共用方式為


ISharePointProjectItem.ExtensionData Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets the information that enables project item extensions to persist custom data across Visual Studio sessions.

Namespace:  Microsoft.VisualStudio.SharePoint
Assembly:  Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)

Syntax

'Declaration
ReadOnly Property ExtensionData As IDictionary(Of String, String)
IDictionary<string, string> ExtensionData { get; }

Property Value

Type: System.Collections.Generic.IDictionary<String, String>
An object representing the extension data.

Remarks

For more information about using this property to persist data in a project item, see Saving Data in Extensions of the SharePoint Project System.

.NET Framework Security

See Also

Reference

ISharePointProjectItem Interface

Microsoft.VisualStudio.SharePoint Namespace