Condividi tramite


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

'Dichiarazione
Function GetDesignerLoaderClassForFile ( _
    pwszFileName As String _
) As String
'Utilizzo
Dim instance As IVSMDDesignerService
Dim pwszFileName As String
Dim returnValue As String

returnValue = instance.GetDesignerLoaderClassForFile(pwszFileName)
string GetDesignerLoaderClassForFile(
    string pwszFileName
)
String^ GetDesignerLoaderClassForFile(
    [InAttribute] String^ pwszFileName
)
abstract GetDesignerLoaderClassForFile : 
        pwszFileName:string -> string 
function GetDesignerLoaderClassForFile(
    pwszFileName : String
) : String

Parameters

Return Value

Type: System.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

IVSMDDesignerService Members

Microsoft.VisualStudio.Designer.Interfaces Namespace