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: StringThe 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
- 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.