FileMetadataChange 构造函数

定义

初始化 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>

文件的新的或修改的元数据的集合。

适用于