Anyone know how to use the method Revit.GeometryConversion.ProtoToRevitSolid.ToRevitFamilyType?

I always got the error messages when use “Revit.GeometryConversion.ProtoToRevitSolid.ToRevitFamilyType”, and I have add reference to “DSCoreNodes, RevitNodes”

|Error|CS0103|The name ‘Revit’ does not exist in the current context|SampleLibraryZeroTouch

Revit.Elements.Category cate = Revit.Elements.Category.ByName(“test”);
Revit.Elements.Material material = Revit.Elements.Material.ByName(“test”);
Autodesk.Revit.DB.FamilySymbol family = Revit.GeometryConversion.ProtoToRevitSolid.ToRevitFamilyType(s, “test”, cate, template, material, false);