FileExtensionAttribute Constructor (String)

 

Initializes a new instance of the FileExtensionAttribute.

Namespace:   Microsoft.VisualStudio.Utilities
Assembly:  Microsoft.VisualStudio.CoreUtility (in Microsoft.VisualStudio.CoreUtility.dll)

public FileExtensionAttribute(
	string fileExtension
)

Parameters

fileExtension
Type: System.String

The file extension.

For an example of how to use this attribute, see Walkthrough: Linking a Content Type to a File Name Extension.

Return to top
Show: