FileMetadataChange 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 FileMetadataChange 类的新实例。
public:
FileMetadataChange(System::String ^ relativeFilePath, System::Collections::Generic::IReadOnlyCollection<System::String ^> ^ removedMetadataKeys, System::Collections::Generic::IReadOnlyDictionary<System::String ^, System::String ^> ^ updatedMetadata);
public FileMetadataChange (string relativeFilePath, System.Collections.Generic.IReadOnlyCollection<string> removedMetadataKeys, System.Collections.Generic.IReadOnlyDictionary<string,string> updatedMetadata);
new Microsoft.VisualStudio.Workspace.VSIntegration.MetadataService.FileMetadataChange : string * System.Collections.Generic.IReadOnlyCollection<string> * System.Collections.Generic.IReadOnlyDictionary<string, string> -> Microsoft.VisualStudio.Workspace.VSIntegration.MetadataService.FileMetadataChange
Public Sub New (relativeFilePath As String, removedMetadataKeys As IReadOnlyCollection(Of String), updatedMetadata As IReadOnlyDictionary(Of String, String))
参数
- relativeFilePath
- String
相对于工作区根目录的文件路径
- removedMetadataKeys
- IReadOnlyCollection<String>
已从文件的元数据集中删除的元数据键。
- updatedMetadata
- IReadOnlyDictionary<String,String>
文件的新的或修改的元数据的集合。