Partager via


RelatedFileType Enumeration

Flag enumeration to specifiy the related file behavior

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)

Syntax

'Declaration
<FlagsAttribute> _
Public Enumeration RelatedFileType
[FlagsAttribute]
public enum RelatedFileType
[FlagsAttribute]
public enum class RelatedFileType
[<FlagsAttribute>]
type RelatedFileType
public enum RelatedFileType

Members

Member name Description
AllowSccOperationsOnChild 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.
ChildIsNeverHidden Dependent related file is never hidden in the solution explorer, even in project view in project types that normally hide dependent files.
CultureInfo Related files are culture info based Mutually exlusive with None, Simple and Filename
FileName Related files are based on full filename Mutually exlusive with None, Simple and CultureInfo
None No related files Mutually exlusive with Simple, Filename and CultureInfo
RemoveOnReplacingParent Specifies that the related file is to be removed when the parent file is replaced in the project.
Simple Related files are based on filename, without extension Mutually exlusive with None, FileName and CultureInfo

Remarks

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

See Also

Reference

Microsoft.VisualStudio.Modeling.Shell Namespace