Udostępnij za pośrednictwem


AnnotationSegment Klasa

Definicja

Segment reprezentujący adnotację

public sealed class AnnotationSegment : Microsoft.OData.UriParser.ODataPathSegment
type AnnotationSegment = class
    inherit ODataPathSegment
Public NotInheritable Class AnnotationSegment
Inherits ODataPathSegment
Dziedziczenie
AnnotationSegment

Konstruktory

AnnotationSegment(IEdmTerm)

Tworzenie segmentu na podstawie terminu adnotacji

Właściwości

EdmType

Pobiera element IEdmType z tego AnnotationSegmentobiektu .

Identifier

Zwraca identyfikator dla tego segmentu, tj. część ciągu bez kluczy.

(Odziedziczone po ODataPathSegment)
Term

Pobiera termin adnotacji reprezentowany przez ten segment.

Metody

HandleWith(PathSegmentHandler)

Obsługa AnnotationSegment obiektu przy użyciu wystąpienia klasy PathSegmentHandler.

TranslateWith<T>(PathSegmentTranslator<T>)

AnnotationSegment Tłumaczenie obiektu przy użyciu wystąpienia /PathSegmentTranslator<T>>.

Dotyczy