BuildProvider.GetCustomString Method
Assembly: System.Web (in system.web.dll)
public String GetCustomString ( CompilerResults results )
public function GetCustomString ( results : CompilerResults ) : String
Not applicable.
Parameters
- results
The compilation results for the build provider's virtual path.
Return Value
A string to be persisted in the build environment; otherwise, a null reference (Nothing in Visual Basic) if the BuildProvider does not implement GetCustomString.The GetCompiledCustomString method of a BuildManager object creates an instance of a build provider for an input virtual path, and calls the GetCustomString method on the BuildProvider object.
The base BuildProvider class returns a null reference (Nothing in Visual Basic) for the GetCustomString method, indicating that GetCustomString is not implemented.
Certain build provider implementations can implement GetCustomString in place of the GetGeneratedType method. A BuildProvider object typically uses GetGeneratedType to return a Type object for a virtual path. However, the GetCustomString method can be used to indicate that a BuildProvider object can generate multiple types from a virtual path.
Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.