Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Initializes a new instance of the FileExtensionAttribute.
Namespace: Microsoft.VisualStudio.Utilities
Assembly: Microsoft.VisualStudio.CoreUtility (in Microsoft.VisualStudio.CoreUtility.dll)
Syntax
'Declaration
Public Sub New ( _
fileExtension As String _
)
public FileExtensionAttribute(
string fileExtension
)
public:
FileExtensionAttribute(
String^ fileExtension
)
new :
fileExtension:string -> FileExtensionAttribute
public function FileExtensionAttribute(
fileExtension : String
)
Parameters
- fileExtension
Type: System.String
The file extension.
Examples
For an example of how to use this attribute, see Walkthrough: Linking a Content Type to a File Name Extension.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.