Partager via


FileReferenceInfo Constructor

Definition

Initializes a new instance of the FileReferenceInfo class.

public FileReferenceInfo (string relativePath, string target = default, string context = default, int? referenceType = default, bool useReferenceEntityId = false);
public FileReferenceInfo (string relativePath, string? target = default, string? context = default, int? referenceType = default, bool useReferenceEntityId = false);
new Microsoft.VisualStudio.Workspace.Indexing.FileReferenceInfo : string * string * string * Nullable<int> * bool -> Microsoft.VisualStudio.Workspace.Indexing.FileReferenceInfo
Public Sub New (relativePath As String, Optional target As String = Nothing, Optional context As String = Nothing, Optional referenceType As Nullable(Of Integer) = Nothing, Optional useReferenceEntityId As Boolean = false)

Parameters

relativePath
String

The file relative path

target
String

The target of this reference (or null)

context
String

The context of this reference (or null)

referenceType
Nullable<Int32>

Type of this reference (or null)

useReferenceEntityId
Boolean

If file system entity can be used

Applies to