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
- pwszFileName
Type: System.String
The file name.
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
- 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.