AttributeRouteModel.CombineAttributeRouteModel 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
結合兩 AttributeRouteModel 個實例,並傳回具有結果的新 AttributeRouteModel 實例。
public:
static Microsoft::AspNetCore::Mvc::ApplicationModels::AttributeRouteModel ^ CombineAttributeRouteModel(Microsoft::AspNetCore::Mvc::ApplicationModels::AttributeRouteModel ^ left, Microsoft::AspNetCore::Mvc::ApplicationModels::AttributeRouteModel ^ right);
public static Microsoft.AspNetCore.Mvc.ApplicationModels.AttributeRouteModel CombineAttributeRouteModel (Microsoft.AspNetCore.Mvc.ApplicationModels.AttributeRouteModel left, Microsoft.AspNetCore.Mvc.ApplicationModels.AttributeRouteModel right);
public static Microsoft.AspNetCore.Mvc.ApplicationModels.AttributeRouteModel? CombineAttributeRouteModel (Microsoft.AspNetCore.Mvc.ApplicationModels.AttributeRouteModel? left, Microsoft.AspNetCore.Mvc.ApplicationModels.AttributeRouteModel? right);
static member CombineAttributeRouteModel : Microsoft.AspNetCore.Mvc.ApplicationModels.AttributeRouteModel * Microsoft.AspNetCore.Mvc.ApplicationModels.AttributeRouteModel -> Microsoft.AspNetCore.Mvc.ApplicationModels.AttributeRouteModel
Public Shared Function CombineAttributeRouteModel (left As AttributeRouteModel, right As AttributeRouteModel) As AttributeRouteModel
參數
- left
- AttributeRouteModel
- right
- AttributeRouteModel
傳回
的新實例,表示兩 AttributeRouteModel 個實例 AttributeRouteModel 的組合,如果兩個參數都是 ,則 null
為 null
。