RepeaterDesigner.GetDesignTimeDataSource Metod

Definition

Returnerar exempeldata för designtid.

Överlagringar

Name Description
GetDesignTimeDataSource(IEnumerable, Int32)

Detta API stöder produktinfrastrukturen och är inte avsett att användas direkt från koden.

Returnerar exempeldata för designtid baserat på angivna data och med det angivna antalet rader.

GetDesignTimeDataSource(Int32)

Detta API stöder produktinfrastrukturen och är inte avsett att användas direkt från koden.

Returnerar exempeldata för designtid baserat på GetResolvedSelectedDataSource() metoden och med det angivna antalet rader.

GetDesignTimeDataSource(IEnumerable, Int32)

Returnerar exempeldata för designtid baserat på angivna data och med det angivna antalet rader.

Detta API stöder produktinfrastrukturen och är inte avsett att användas direkt från koden.

protected:
 System::Collections::IEnumerable ^ GetDesignTimeDataSource(System::Collections::IEnumerable ^ selectedDataSource, int minimumRows);
protected System.Collections.IEnumerable GetDesignTimeDataSource(System.Collections.IEnumerable selectedDataSource, int minimumRows);
member this.GetDesignTimeDataSource : System.Collections.IEnumerable * int -> System.Collections.IEnumerable
Protected Function GetDesignTimeDataSource (selectedDataSource As IEnumerable, minimumRows As Integer) As IEnumerable

Parametrar

selectedDataSource
IEnumerable

Ett IEnumerable objekt som innehåller data som ska användas för att skapa liknande exempeldata vid designtillfället.

minimumRows
Int32

Det minsta antalet rader med exempeldata som datakällan ska innehålla.

Returer

Ett IEnumerable objekt som innehåller exempeldata för användning vid designtillfället.

Se även

Gäller för

GetDesignTimeDataSource(Int32)

Returnerar exempeldata för designtid baserat på GetResolvedSelectedDataSource() metoden och med det angivna antalet rader.

Detta API stöder produktinfrastrukturen och är inte avsett att användas direkt från koden.

protected:
 System::Collections::IEnumerable ^ GetDesignTimeDataSource(int minimumRows);
protected System.Collections.IEnumerable GetDesignTimeDataSource(int minimumRows);
member this.GetDesignTimeDataSource : int -> System.Collections.IEnumerable
Protected Function GetDesignTimeDataSource (minimumRows As Integer) As IEnumerable

Parametrar

minimumRows
Int32

Det minsta antalet rader med exempeldata som datakällan ska innehålla.

Returer

Ett IEnumerable objekt som innehåller exempeldata för användning vid designtillfället.

Se även

Gäller för