共用方式為


AttributeRouteModel.CombineAttributeRouteModel 方法

定義

結合兩 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

參數

傳回

的新實例,表示兩 AttributeRouteModel 個實例 AttributeRouteModel 的組合,如果兩個參數都是 ,則 nullnull

適用於