次の方法で共有


FileExtensionAttribute Constructor

Initializes a new instance of the FileExtensionAttribute.

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

Syntax

'宣言
Public Sub New ( _
    fileExtension As String _
)
public FileExtensionAttribute(
    string fileExtension
)
public:
FileExtensionAttribute(
    String^ fileExtension
)
new : 
        fileExtension:string -> FileExtensionAttribute
public function FileExtensionAttribute(
    fileExtension : String
)

Parameters

Examples

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

.NET Framework Security

See Also

Reference

FileExtensionAttribute Class

Microsoft.VisualStudio.Utilities Namespace