你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
StateExtensions.IsCurrentPresentAndCompatible<TModel,TParentModel> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static bool IsCurrentPresentAndCompatible<TModel,TParentModel> (this Microsoft.Azure.Commands.Common.Strategies.IState state, Microsoft.Azure.Commands.Common.Strategies.NestedResourceConfig<TModel,TParentModel> config) where TModel : class where TParentModel : class;
static member IsCurrentPresentAndCompatible : Microsoft.Azure.Commands.Common.Strategies.IState * Microsoft.Azure.Commands.Common.Strategies.NestedResourceConfig<'Model, 'ParentModel (requires 'Model : null and 'ParentModel : null)> -> bool (requires 'Model : null and 'ParentModel : null)
<Extension()>
Public Function IsCurrentPresentAndCompatible(Of TModel As Class, TParentModel As Class) (state As IState, config As NestedResourceConfig(Of TModel, TParentModel)) As Boolean
Type Parameters
- TModel
- TParentModel
Parameters
- state
- IState
- config
- NestedResourceConfig<TModel,TParentModel>