FileExtensionAttribute Constructor

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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft