共用方式為


WebSiteProjectRelatedFilesAttribute Constructor

Initializes a new instance of the WebSiteProjectRelatedFilesAttribute class.

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

Syntax

'Declaration
Public Sub New ( _
    primaryFileExtension As String, _
    relatedFileExtension As String _
)
public WebSiteProjectRelatedFilesAttribute(
    string primaryFileExtension,
    string relatedFileExtension
)
public:
WebSiteProjectRelatedFilesAttribute(
    String^ primaryFileExtension, 
    String^ relatedFileExtension
)
new : 
        primaryFileExtension:string * 
        relatedFileExtension:string -> WebSiteProjectRelatedFilesAttribute
public function WebSiteProjectRelatedFilesAttribute(
    primaryFileExtension : String, 
    relatedFileExtension : String
)

Parameters

  • primaryFileExtension
    Type: String

    The primary file extension that will nest files.

  • relatedFileExtension
    Type: String

    The related file extension that will nest under the primary file extension.

.NET Framework Security

See Also

Reference

WebSiteProjectRelatedFilesAttribute Class

Microsoft.VisualStudio.Shell Namespace