共用方式為


PathTemplateSegment 類別

定義

代表路徑中路徑範本的區段。

public sealed class PathTemplateSegment : Microsoft.OData.UriParser.ODataPathSegment
type PathTemplateSegment = class
    inherit ODataPathSegment
Public NotInheritable Class PathTemplateSegment
Inherits ODataPathSegment
繼承
PathTemplateSegment

建構函式

PathTemplateSegment(String)

建置代表路徑範本的區段。

屬性

EdmType

IEdmType取得這個 ODataPathSegment 的 。

Identifier

傳回此區段的識別碼,也就是不含索引鍵的字串部分。

(繼承來源 ODataPathSegment)
LiteralText

範本區段的常值文字。

方法

HandleWith(PathSegmentHandler)

PathTemplateSegment使用 的 PathSegmentHandler 實例來處理 。

TranslateWith<T>(PathSegmentTranslator<T>)

PathTemplateSegment使用 的 PathSegmentTranslator<T> 實例來翻譯 。

適用於