DbGeometry.MultiLineFromText - метод
[Эта страница относится к документации к Entity Framework 6. Последняя версия доступна в составе пакета Entity Framework NuGet. Дополнительные сведения об Entity Framework см. в разделе msdn.com/data/ef.]
Возвращает значение multiline из значения в известном формате.
Пространство имен: System.Data.Entity.Spatial
Сборка: EntityFramework (в EntityFramework.dll)
Синтаксис
'Декларация
<SuppressMessageAttribute("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId := "MultiLine", _
Justification := "Match OGC, EDM")> _
<SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId := "multi", _
Justification := "Match OGC, EDM")> _
<SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId := "Multi", _
Justification := "Match OGC, EDM")> _
<SuppressMessageAttribute("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId := "multiLine", _
Justification := "Match OGC, EDM")> _
Public Shared Function MultiLineFromText ( _
multiLineWellKnownText As String, _
coordinateSystemId As Integer _
) As DbGeometry
'Применение
Dim multiLineWellKnownText As String
Dim coordinateSystemId As Integer
Dim returnValue As DbGeometry
returnValue = DbGeometry.MultiLineFromText(multiLineWellKnownText, _
coordinateSystemId)
[SuppressMessageAttribute("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId = "MultiLine",
Justification = "Match OGC, EDM")]
[SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "multi",
Justification = "Match OGC, EDM")]
[SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Multi",
Justification = "Match OGC, EDM")]
[SuppressMessageAttribute("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId = "multiLine",
Justification = "Match OGC, EDM")]
public static DbGeometry MultiLineFromText(
string multiLineWellKnownText,
int coordinateSystemId
)
[SuppressMessageAttribute(L"Microsoft.Naming", L"CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId = L"MultiLine",
Justification = L"Match OGC, EDM")]
[SuppressMessageAttribute(L"Microsoft.Naming", L"CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = L"multi",
Justification = L"Match OGC, EDM")]
[SuppressMessageAttribute(L"Microsoft.Naming", L"CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = L"Multi",
Justification = L"Match OGC, EDM")]
[SuppressMessageAttribute(L"Microsoft.Naming", L"CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId = L"multiLine",
Justification = L"Match OGC, EDM")]
public:
static DbGeometry^ MultiLineFromText(
String^ multiLineWellKnownText,
int coordinateSystemId
)
[<SuppressMessageAttribute("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId = "MultiLine",
Justification = "Match OGC, EDM")>]
[<SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "multi",
Justification = "Match OGC, EDM")>]
[<SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Multi",
Justification = "Match OGC, EDM")>]
[<SuppressMessageAttribute("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId = "multiLine",
Justification = "Match OGC, EDM")>]
static member MultiLineFromText :
multiLineWellKnownText:string *
coordinateSystemId:int -> DbGeometry
public static function MultiLineFromText(
multiLineWellKnownText : String,
coordinateSystemId : int
) : DbGeometry
Параметры
- multiLineWellKnownText
Тип: System.String
Значение в известном двоичном формате.
- coordinateSystemId
Тип: System.Int32
Идентификатор системы координат.
Возвращаемое значение
Тип: System.Data.Entity.Spatial.DbGeometry
Значение multiline из значения в известном формате.