Freigeben über


GenerateResource.UseSourcePath Property

Definition

Indicates whether the resource reader should use the source file's directory to resolve relative file paths.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 property bool UseSourcePath { bool get(); void set(bool value); };
public bool UseSourcePath { get; set; }
public bool UseSourcePath { [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] get; [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] set; }
member this.UseSourcePath : bool with get, set
[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
[<set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
member this.UseSourcePath : bool with get, set
Public Property UseSourcePath As Boolean

Property Value

true if the input file's directory is to be used for resolving relative file paths; otherwise, false.

Attributes

Applies to