FileReferenceInfo Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)
- useReferenceEntityId
- Boolean
If file system entity can be used