Partager via


IVSMDDesignerService.GetDesignerLoaderClassForFile Method

Finds a registered designer loader for the specified file extension.

Namespace:  Microsoft.VisualStudio.Designer.Interfaces
Assembly:  Microsoft.VisualStudio.Designer.Interfaces (in Microsoft.VisualStudio.Designer.Interfaces.dll)

Syntax

'Declaration
Function GetDesignerLoaderClassForFile ( _
    pwszFileName As String _
) As String
string GetDesignerLoaderClassForFile(
    string pwszFileName
)
String^ GetDesignerLoaderClassForFile(
    [InAttribute] String^ pwszFileName
)
abstract GetDesignerLoaderClassForFile : 
        pwszFileName:string -> string
function GetDesignerLoaderClassForFile(
    pwszFileName : String
) : String

Parameters

  • pwszFileName
    Type: String

    The file name.

Return Value

Type: String
The type name of the designer loader.

Remarks

The designer loader registry entry must be under the Languages subkey of the registry and is a REG_SZ value with the name "DesignerLoaderClass".

.NET Framework Security

See Also

Reference

IVSMDDesignerService Interface

Microsoft.VisualStudio.Designer.Interfaces Namespace