Sdílet prostřednictvím


PathTemplateSegment Třída

Definice

Segment představující šablonu cesty v cestě.

public sealed class PathTemplateSegment : Microsoft.OData.UriParser.ODataPathSegment
type PathTemplateSegment = class
    inherit ODataPathSegment
Public NotInheritable Class PathTemplateSegment
Inherits ODataPathSegment
Dědičnost
PathTemplateSegment

Konstruktory

PathTemplateSegment(String)

Vytvořte segment představující šablonu cesty.

Vlastnosti

EdmType

IEdmType Získá z tohoto ODataPathSegment.

Identifier

Vrátí identifikátor pro tento segment, tj. část řetězce bez klíčů.

(Zděděno od ODataPathSegment)
LiteralText

Literál pro segment šablony.

Metody

HandleWith(PathSegmentHandler)

Zpracování objektu PathTemplateSegment pomocí instance .PathSegmentHandler

TranslateWith<T>(PathSegmentTranslator<T>)

Překlad objektu PathTemplateSegment pomocí instance PathSegmentTranslator<T>.

Platí pro