Share 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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.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
None No related files Mutually exlusive with Simple, Filename and CultureInfo
Simple Related files are based on filename, without extension Mutually exlusive with None, FileName and CultureInfo
FileName Related files are based on full filename Mutually exlusive with None, Simple and CultureInfo
CultureInfo Related files are culture info based Mutually exlusive with None, Simple and Filename
ChildIsNeverHidden Dependent related file is never hidden in the solution explorer, even in project view in project types that normally hide dependent files.
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.
RemoveOnReplacingParent 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.

See Also

Reference

Microsoft.VisualStudio.Modeling.Shell Namespace