This documentation is archived and is not being maintained.
MetaForeignKeyColumn::GetForeignKeyPath Method (String, Object, String)
Visual Studio 2010
Gets the path for the specified action page of the parent table of the specified foreign-key field.
Assembly: System.Web.DynamicData (in System.Web.DynamicData.dll)
public: virtual String^ GetForeignKeyPath( String^ action, Object^ row, String^ path ) sealed
Parameters
- action
- Type: System::String
The target action.
- row
- Type: System::Object
The row that contains the foreign-key field.
- path
- Type: System::String
The target page.
Return Value
Type: System::StringThe path for the specified action page of the parent table of the specified foreign-key field.
The GetForeignKeyPath(String, Object) method returns the path for the specified action page based on the specified path. This method returns an empty string, if row is nullptr.
You can use the values defined in the PageAction class for the action parameter.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: