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
'宣言
Function GetDesignerLoaderClassForFile ( _
pwszFileName As String _
) As String
string GetDesignerLoaderClassForFile(
string pwszFileName
)
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.