共用方式為


RelatedFileType Enum

Definition

Flag enumeration to specifiy the related file behavior

This enumeration supports a bitwise combination of its member values.

public enum class RelatedFileType
[System.Flags]
public enum RelatedFileType
[<System.Flags>]
type RelatedFileType = 
Public Enum RelatedFileType
Inheritance
RelatedFileType
Attributes

Fields

Name Value Description
None 0

No related files Mutually exlusive with Simple, Filename and CultureInfo

Simple 1

Related files are based on filename, without extension Mutually exlusive with None, FileName and CultureInfo

FileName 2

Related files are based on full filename Mutually exlusive with None, Simple and CultureInfo

CultureInfo 4

Related files are culture info based Mutually exlusive with None, Simple and Filename

ChildIsNeverHidden 8

Dependent related file is never hidden in the solution explorer, even in project view in project types that normally hide dependent files.

AllowSccOperationsOnChild 16

Source Code Control operations are allowed on the dependent related file, separately from the parent related file (so the file is not an SCC "special" file.

RemoveOnReplacingParent 1024

Specifies that the related file is to be removed when the parent file is replaced in the project.

Remarks

None, Simple, Filename and CultureInfo are mutually exclusive. Other flags can be OR'd in to one of those four.

Applies to